+
JavaScript is disabled. Features will be limited.
@@ -180,7 +180,7 @@ function AppLayout(props: { children: any }) {
{props.children}
diff --git a/src/components/Bars.tsx b/src/components/Bars.tsx
index e8f2f79..6ede17d 100644
--- a/src/components/Bars.tsx
+++ b/src/components/Bars.tsx
@@ -233,7 +233,7 @@ export function LeftBar() {
const handleLinkClick = () => {
if (
typeof window !== "undefined" &&
- window.innerWidth < BREAKPOINTS.MOBILE
+ window.innerWidth < BREAKPOINTS.MOBILE_MAX_WIDTH
) {
setLeftBarVisible(false);
}
@@ -301,7 +301,7 @@ export function LeftBar() {
if (ref) {
const handleKeyDown = (e: KeyboardEvent) => {
- const isMobile = window.innerWidth < BREAKPOINTS.MOBILE;
+ const isMobile = window.innerWidth < BREAKPOINTS.MOBILE_MAX_WIDTH;
if (!isMobile || !leftBarVisible()) return;
@@ -366,7 +366,7 @@ export function LeftBar() {
const getMainNavStyles = () => {
const baseStyles = {
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
- width: windowWidth() < 1536 ? "250px" : "288px",
+ width: "250px",
"padding-top": "env(safe-area-inset-top)",
"padding-bottom": "env(safe-area-inset-bottom)"
};
@@ -456,7 +456,7 @@ export function LeftBar() {
@@ -607,14 +607,13 @@ export function RightBar() {