File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
libs/remix-ui/top-bar/src/components Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,10 @@ export const WorkspacesDropdown: React.FC<WorkspacesDropdownProps> = ({ menuItem
303
303
createWorkspace ( )
304
304
setOpenSub ( null )
305
305
} }
306
+ style = { {
307
+ backgroundColor : 'transparent' ,
308
+ color : 'inherit' ,
309
+ } }
306
310
>
307
311
< button className = "w-100 btn btn-primary font-weight-light text-decoration-none mb-2 rounded-lg" onClick = { ( e ) => {
308
312
createWorkspace ( )
@@ -370,20 +374,27 @@ export const WorkspacesDropdown: React.FC<WorkspacesDropdownProps> = ({ menuItem
370
374
Connect to Localhost
371
375
</ span >
372
376
</ Dropdown . Item >
373
- < Button className = "w-100 btn btn-danger font-weight-light text-decoration-none" onClick = { ( ) => {
374
- deleteAllWorkspaces ( )
375
- setShowMain ( false )
376
- setOpenSub ( null )
377
- } } >
378
- < span className = "pl-2 text-white" onClick = { ( ) => {
377
+ < Dropdown . Item
378
+ style = { {
379
+ backgroundColor : 'transparent' ,
380
+ color : 'inherit' ,
381
+ } }
382
+ >
383
+ < button className = "w-100 btn btn-danger font-weight-light text-decoration-none" onClick = { ( ) => {
379
384
deleteAllWorkspaces ( )
380
385
setShowMain ( false )
381
386
setOpenSub ( null )
382
387
} } >
383
- < i className = "fas fa-trash-can me-2" > </ i >
388
+ < span className = "pl-2 text-white" onClick = { ( ) => {
389
+ deleteAllWorkspaces ( )
390
+ setShowMain ( false )
391
+ setOpenSub ( null )
392
+ } } >
393
+ < i className = "fas fa-trash-can me-2" > </ i >
384
394
Delete all Workspaces
385
- </ span >
386
- </ Button >
395
+ </ span >
396
+ </ button >
397
+ </ Dropdown . Item >
387
398
</ div >
388
399
</ Dropdown . Menu >
389
400
</ Dropdown >
You can’t perform that action at this time.
0 commit comments