fixed mobile sidebar in settings (#6317)
parent
c214e01f03
commit
6b6eed66eb
|
@ -166,10 +166,10 @@ const SettingsSidebarContainer = ({
|
||||||
return (
|
return (
|
||||||
<nav
|
<nav
|
||||||
className={classNames(
|
className={classNames(
|
||||||
"no-scrollbar fixed left-0 top-0 z-10 flex max-h-screen w-56 flex-col space-y-1 overflow-x-hidden overflow-y-scroll bg-gray-50 px-2 pb-3 transition-transform lg:sticky lg:flex",
|
"no-scrollbar fixed bottom-0 left-0 top-0 z-10 flex max-h-screen w-56 flex-col space-y-1 overflow-x-hidden overflow-y-scroll bg-gray-50 px-2 pb-3 transition-transform lg:sticky lg:flex",
|
||||||
className,
|
className,
|
||||||
navigationIsOpenedOnMobile
|
navigationIsOpenedOnMobile
|
||||||
? "opacity-0 ltr:-translate-x-full rtl:translate-x-full lg:translate-x-0 lg:opacity-100"
|
? "translate-x-0 opacity-100"
|
||||||
: "-translate-x-full opacity-0 lg:translate-x-0 lg:opacity-100"
|
: "-translate-x-full opacity-0 lg:translate-x-0 lg:opacity-100"
|
||||||
)}
|
)}
|
||||||
aria-label="Tabs">
|
aria-label="Tabs">
|
||||||
|
|
Loading…
Reference in New Issue