File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 removeLocalePrefix ,
66 getUiTranslator ,
77} from " @/src/i18n/utils" ;
8+ import { jumpToState } from " @/src/globals/state" ;
89import { AccessibilitySettings } from " @components/AccessibilitySettings/" ;
910import SearchForm from " @components/SearchForm/index.astro" ;
1011import { LocaleSelect } from " @components/LocaleSelect" ;
@@ -72,7 +73,7 @@ const a11ySettingsProps = [
7273const { hideSearch } = Astro .props ;
7374---
7475
75- <div class ={ styles .container } >
76+ <div class ={ ` ${ styles .container } ${ jumpToState ? " " : " noJumpTo " } ` } >
7677 <div id =" settings-placeholder" class ={ styles .placeholder } ></div >
7778 <div id =" settings-hitbox" class ={ styles .hitbox } ></div >
7879 <div id =" settings-container" class ={ ` ${styles .wrapper } settings ` } >
Original file line number Diff line number Diff line change 9393 position 0.3s ;
9494}
9595
96+ .container :global(.noJumpTo ) .wrapper :global(.open ) {
97+ top : 40px ;
98+ @media (min-width : $breakpoint-tablet ) {
99+ top : 0px ;
100+ }
101+ }
102+
96103.wrapper :global(.open ) {
97104 top : 80px ;
105+ @media (min-width : $breakpoint-tablet ) {
106+ top : 0px ;
107+ }
98108}
You can’t perform that action at this time.
0 commit comments