Upload folder using huggingface_hub
Browse files- client/src/components/Layout.tsx +1 -1
- client/src/index.css +2 -3
client/src/components/Layout.tsx
CHANGED
|
@@ -210,7 +210,7 @@ const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
|
| 210 |
<div className="flex">
|
| 211 |
{/* Sidebar */}
|
| 212 |
<aside className="hidden md:flex md:flex-col w-60 fixed top-14 left-0 bottom-0 border-r border-ui-border bg-ui-panel/80 backdrop-blur z-30 sidebar-shell">
|
| 213 |
-
<nav className="p-4 space-y-2 sidebar-nav">
|
| 214 |
{navigation.map((item) => {
|
| 215 |
const isActive = location.pathname === item.href;
|
| 216 |
return (
|
|
|
|
| 210 |
<div className="flex">
|
| 211 |
{/* Sidebar */}
|
| 212 |
<aside className="hidden md:flex md:flex-col w-60 fixed top-14 left-0 bottom-0 border-r border-ui-border bg-ui-panel/80 backdrop-blur z-30 sidebar-shell">
|
| 213 |
+
<nav className="p-4 space-y-2 flex-1 sidebar-nav">
|
| 214 |
{navigation.map((item) => {
|
| 215 |
const isActive = location.pathname === item.href;
|
| 216 |
return (
|
client/src/index.css
CHANGED
|
@@ -138,9 +138,8 @@ html.is-chrome .sidebar-nav { position: static; align-self: stretch; }
|
|
| 138 |
html.is-chrome .sidebar-footer { position: sticky; bottom: 0; background: transparent; }
|
| 139 |
html.is-chrome .sidebar-shell { overflow: hidden; }
|
| 140 |
html.is-chrome .sidebar-shell::before { content: ''; position: absolute; inset: 0; }
|
| 141 |
-
|
| 142 |
-
html.is-chrome .sidebar-shell .sidebar-nav { top:
|
| 143 |
-
html.is-chrome .sidebar-shell .sidebar-footer { bottom: 0; }
|
| 144 |
|
| 145 |
/* Font exactness tweaks: normalize weights and sizes like Safari */
|
| 146 |
html.is-chrome body { font-weight: 400; }
|
|
|
|
| 138 |
html.is-chrome .sidebar-footer { position: sticky; bottom: 0; background: transparent; }
|
| 139 |
html.is-chrome .sidebar-shell { overflow: hidden; }
|
| 140 |
html.is-chrome .sidebar-shell::before { content: ''; position: absolute; inset: 0; }
|
| 141 |
+
/* Remove overcomplicated fixed children; rely on fixed aside */
|
| 142 |
+
html.is-chrome .sidebar-shell .sidebar-nav, html.is-chrome .sidebar-shell .sidebar-footer { position: static; width: auto; left: auto; top: auto; bottom: auto; }
|
|
|
|
| 143 |
|
| 144 |
/* Font exactness tweaks: normalize weights and sizes like Safari */
|
| 145 |
html.is-chrome body { font-weight: 400; }
|