fix sidebar
This commit is contained in:
parent
048ff94051
commit
f07a62774e
6
dist/layout.js
vendored
6
dist/layout.js
vendored
@ -178,8 +178,8 @@ const RA = ({
|
|||||||
position: "absolute",
|
position: "absolute",
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
insetInlineStart: "8px",
|
insetInlineStart: "4px",
|
||||||
insetInlineEnd: "8px",
|
insetInlineEnd: "4px",
|
||||||
bg: "gray.200",
|
bg: "gray.200",
|
||||||
borderRadius: "md",
|
borderRadius: "md",
|
||||||
zIndex: 0
|
zIndex: 0
|
||||||
@ -192,7 +192,7 @@ const RA = ({
|
|||||||
},
|
},
|
||||||
icon: /* @__PURE__ */ e(d, { as: o.icon }),
|
icon: /* @__PURE__ */ e(d, { as: o.icon }),
|
||||||
fontSize: "xl",
|
fontSize: "xl",
|
||||||
size: { base: "sm", lg: "lg" },
|
size: { base: "sm", lg: "md" },
|
||||||
"aria-label": o.title,
|
"aria-label": o.title,
|
||||||
"aria-current": A ? "page" : void 0
|
"aria-current": A ? "page" : void 0
|
||||||
};
|
};
|
||||||
|
|||||||
@ -79,8 +79,8 @@ const DesktopNavItem = ({
|
|||||||
position: "absolute",
|
position: "absolute",
|
||||||
top: 0,
|
top: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
insetInlineStart: "8px",
|
insetInlineStart: "4px",
|
||||||
insetInlineEnd: "8px",
|
insetInlineEnd: "4px",
|
||||||
bg: "gray.200",
|
bg: "gray.200",
|
||||||
borderRadius: "md",
|
borderRadius: "md",
|
||||||
zIndex: 0,
|
zIndex: 0,
|
||||||
@ -96,7 +96,7 @@ const DesktopNavItem = ({
|
|||||||
|
|
||||||
icon: <Icon as={item.icon} />,
|
icon: <Icon as={item.icon} />,
|
||||||
fontSize: "xl",
|
fontSize: "xl",
|
||||||
size: { base: "sm", lg: "lg" },
|
size: { base: "sm", lg: "md" },
|
||||||
"aria-label": item.title,
|
"aria-label": item.title,
|
||||||
"aria-current": isActive ? "page" : undefined,
|
"aria-current": isActive ? "page" : undefined,
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user