File tree Expand file tree Collapse file tree 2 files changed +39
-29
lines changed
src/components/BrowserFilter Expand file tree Collapse file tree 2 files changed +39
-29
lines changed Original file line number Diff line number Diff line change @@ -210,33 +210,37 @@ export default class BrowserFilter extends React.Component {
210
210
) }
211
211
{ ! this . state . confirmName && (
212
212
< div className = { styles . footer } >
213
- < Button
214
- color = "white"
215
- value = "Save"
216
- width = "120px"
217
- onClick = { ( ) => this . setState ( { confirmName : true } ) }
218
- />
219
- < Button
220
- color = "white"
221
- value = "Clear"
222
- disabled = { this . state . filters . size === 0 }
223
- width = "120px"
224
- onClick = { ( ) => this . clear ( ) }
225
- />
226
- < Button
227
- color = "white"
228
- value = "Add"
229
- disabled = { Object . keys ( available ) . length === 0 }
230
- width = "120px"
231
- onClick = { ( ) => this . addRow ( ) }
232
- />
233
- < Button
234
- color = "white"
235
- primary = { true }
236
- value = "Apply"
237
- width = "120px"
238
- onClick = { ( ) => this . apply ( ) }
239
- />
213
+ < div className = { styles . btnFlex } >
214
+ < Button
215
+ color = "white"
216
+ value = "Save"
217
+ width = "120px"
218
+ onClick = { ( ) => this . setState ( { confirmName : true } ) }
219
+ />
220
+ < Button
221
+ color = "white"
222
+ value = "Clear"
223
+ disabled = { this . state . filters . size === 0 }
224
+ width = "120px"
225
+ onClick = { ( ) => this . clear ( ) }
226
+ />
227
+ </ div >
228
+ < div className = { styles . btnFlex } >
229
+ < Button
230
+ color = "white"
231
+ value = "Add"
232
+ disabled = { Object . keys ( available ) . length === 0 }
233
+ width = "120px"
234
+ onClick = { ( ) => this . addRow ( ) }
235
+ />
236
+ < Button
237
+ color = "white"
238
+ primary = { true }
239
+ value = "Apply"
240
+ width = "120px"
241
+ onClick = { ( ) => this . apply ( ) }
242
+ />
243
+ </ div >
240
244
</ div >
241
245
) }
242
246
</ div >
Original file line number Diff line number Diff line change 99
99
100
100
.footer {
101
101
background : rgba (0 ,0 ,0 ,0.2 );
102
- padding : 11px 0 ;
102
+ padding : 11px 16 px ;
103
103
text-align : center ;
104
-
104
+ display : flex ;
105
+ justify-content : space-between ;
105
106
> button {
106
107
margin-right : 10px ;
107
108
157
158
display : flex ;
158
159
align-items : center ;
159
160
}
161
+
162
+ .btnFlex {
163
+ display : flex ;
164
+ gap : 12px ;
165
+ }
You can’t perform that action at this time.
0 commit comments