File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { useLanguagePicker } from "./useLanguagePicker"
25
25
26
26
type LanguagePickerProps = Omit < MenuListProps , "children" > & {
27
27
children : React . ReactNode
28
- placement : MenuProps [ "placement" ]
28
+ placement ? : MenuProps [ "placement" ]
29
29
handleClose ?: ( ) => void
30
30
menuState ?: UseDisclosureReturn
31
31
}
Original file line number Diff line number Diff line change @@ -337,8 +337,8 @@ const MobileNavMenu: React.FC<IProps> = ({
337
337
< FooterItemText > { t ( themeLabelKey ) } </ FooterItemText >
338
338
</ FooterButton >
339
339
< LanguagePicker
340
- placement = "top-end"
341
- h = "calc(100svh - var(--eth-sizes-8)) "
340
+ hideFrom = "lg" // TODO: Confirm breakpoint after nav-menu PR merged
341
+ position = "fixed "
342
342
w = "calc(100vw - var(--eth-sizes-8))"
343
343
inset = "4"
344
344
handleClose = { onToggle }
You can’t perform that action at this time.
0 commit comments