File tree Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Original file line number Diff line number Diff line change @@ -120,29 +120,36 @@ function Section( props: {
120
120
} = props ;
121
121
122
122
return (
123
- < >
123
+ < div
124
+ style = { {
125
+ border : '1px solid black' ,
126
+ marginBottom : '1rem' ,
127
+ padding : '1rem' ,
128
+ } }
129
+ >
124
130
< div >
125
- { label } : { value ?? 'Not found' }
126
- </ div >
127
- < button
128
- disabled = { disabled }
129
- onClick = { async ( ) => {
130
- onWaitingForSelection ( true ) ;
131
- await ContentBus . enableHighlighting ( ) ;
132
- } }
133
- >
134
- Select
135
- </ button >
136
- { ! waitingForSelection ? null : (
131
+ { label } { ' ' }
137
132
< button
133
+ disabled = { disabled }
138
134
onClick = { async ( ) => {
139
- onWaitingForSelection ( false ) ;
140
- await ContentBus . disableHighlighting ( ) ;
135
+ onWaitingForSelection ( true ) ;
136
+ await ContentBus . enableHighlighting ( ) ;
141
137
} }
142
138
>
143
- Cancel
139
+ Select
144
140
</ button >
145
- ) }
146
- </ >
141
+ { ! waitingForSelection ? null : (
142
+ < button
143
+ onClick = { async ( ) => {
144
+ onWaitingForSelection ( false ) ;
145
+ await ContentBus . disableHighlighting ( ) ;
146
+ } }
147
+ >
148
+ Cancel
149
+ </ button >
150
+ ) }
151
+ </ div >
152
+ < div style = { { paddingTop : '1rem' } } > { value ?? 'Not found' } </ div >
153
+ </ div >
147
154
) ;
148
155
}
You can’t perform that action at this time.
0 commit comments