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
303303 createWorkspace ( )
304304 setOpenSub ( null )
305305 } }
306+ style = { {
307+ backgroundColor : 'transparent' ,
308+ color : 'inherit' ,
309+ } }
306310 >
307311 < button className = "w-100 btn btn-primary font-weight-light text-decoration-none mb-2 rounded-lg" onClick = { ( e ) => {
308312 createWorkspace ( )
@@ -370,20 +374,27 @@ export const WorkspacesDropdown: React.FC<WorkspacesDropdownProps> = ({ menuItem
370374 Connect to Localhost
371375 </ span >
372376 </ 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 = { ( ) => {
379384 deleteAllWorkspaces ( )
380385 setShowMain ( false )
381386 setOpenSub ( null )
382387 } } >
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 >
384394 Delete all Workspaces
385- </ span >
386- </ Button >
395+ </ span >
396+ </ button >
397+ </ Dropdown . Item >
387398 </ div >
388399 </ Dropdown . Menu >
389400 </ Dropdown >
You can’t perform that action at this time.
0 commit comments