linguabot commited on
Commit
fb1c5ef
·
verified ·
1 Parent(s): 0a6800d

Upload folder using huggingface_hub

Browse files
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 flex-1 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 sidebar-nav">
214
  {navigation.map((item) => {
215
  const isActive = location.pathname === item.href;
216
  return (
client/src/index.css CHANGED
@@ -131,8 +131,13 @@ html.is-chrome body { overscroll-behavior: contain; }
131
 
132
  /* Chrome-only sidebar opacity + blur look */
133
  html.is-chrome .sidebar-shell { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); will-change: transform; contain: paint; position: fixed; top: 56px; left: 0; bottom: 0; width: 15rem; display: flex; flex-direction: column; }
134
- html.is-chrome .sidebar-nav { position: sticky; top: 0; align-self: stretch; }
135
  html.is-chrome .sidebar-footer { position: sticky; bottom: 0; background: transparent; }
 
 
 
 
 
136
 
137
  /* Font exactness tweaks: normalize weights and sizes like Safari */
138
  html.is-chrome body { font-weight: 400; }
 
131
 
132
  /* Chrome-only sidebar opacity + blur look */
133
  html.is-chrome .sidebar-shell { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); will-change: transform; contain: paint; position: fixed; top: 56px; left: 0; bottom: 0; width: 15rem; display: flex; flex-direction: column; }
134
+ html.is-chrome .sidebar-nav { position: static; align-self: stretch; }
135
  html.is-chrome .sidebar-footer { position: sticky; bottom: 0; background: transparent; }
136
+ html.is-chrome .sidebar-shell { overflow: hidden; }
137
+ html.is-chrome .sidebar-shell::before { content: ''; position: absolute; inset: 0; }
138
+ html.is-chrome .sidebar-shell .sidebar-nav, html.is-chrome .sidebar-shell .sidebar-footer { position: fixed; left: 0; width: 15rem; }
139
+ html.is-chrome .sidebar-shell .sidebar-nav { top: 56px; }
140
+ html.is-chrome .sidebar-shell .sidebar-footer { bottom: 0; }
141
 
142
  /* Font exactness tweaks: normalize weights and sizes like Safari */
143
  html.is-chrome body { font-weight: 400; }