File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed
Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export function SettingsMenu(props: SettingsMenuProps) {
7474 } ;
7575
7676 return (
77- < div className = "settings-menu" style = { { width : '100%' } } { ...props } >
77+ < div className = "settings-menu" style = { { width : '100%' , position : 'relative' } } { ...props } >
7878 < div className = { styles . tabs } >
7979 { tabs . map (
8080 ( tab ) =>
@@ -141,12 +141,14 @@ export function SettingsMenu(props: SettingsMenuProps) {
141141 </ >
142142 ) }
143143 </ div >
144- < button
145- className = { `lk-button ${ styles . settingsCloseButton } ` }
146- onClick = { ( ) => layoutContext ?. widget . dispatch ?.( { msg : 'toggle_settings' } ) }
147- >
148- Close
149- </ button >
144+ < div style = { { display : 'flex' , justifyContent : 'flex-end' , width : '100%' } } >
145+ < button
146+ className = { `lk-button` }
147+ onClick = { ( ) => layoutContext ?. widget . dispatch ?.( { msg : 'toggle_settings' } ) }
148+ >
149+ Close
150+ </ button >
151+ </ div >
150152 </ div >
151153 ) ;
152154}
Original file line number Diff line number Diff line change 1- .settingsCloseButton {
2- position : absolute;
3- right : var (--lk-grid-gap );
4- bottom : var (--lk-grid-gap );
5- }
6-
71.tabs {
82 position : relative;
93 display : flex;
You can’t perform that action at this time.
0 commit comments