linguabot commited on
Commit
0a4eeea
·
verified ·
1 Parent(s): 7473597

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. client/src/index.css +6 -4
client/src/index.css CHANGED
@@ -136,18 +136,20 @@ html.is-chrome body { overscroll-behavior: contain; }
136
 
137
  /* Chrome-only sidebar opacity + blur look */
138
  html.is-chrome .sidebar-shell { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: fixed; top: 56px; left: 0; bottom: 0; width: 15rem; display: flex; flex-direction: column; }
139
- html.is-chrome .sidebar-nav { position: static; align-self: stretch; }
140
- html.is-chrome .sidebar-footer { position: sticky; bottom: 0; background: transparent; }
141
  html.is-chrome .sidebar-shell { overflow: visible; }
142
  /* Ensure links remain clickable */
143
  html.is-chrome .sidebar-shell a { pointer-events: auto; }
144
- /* Remove overcomplicated fixed children; rely on fixed aside */
145
- html.is-chrome .sidebar-shell .sidebar-nav, html.is-chrome .sidebar-shell .sidebar-footer { position: static; width: auto; left: auto; top: auto; bottom: auto; }
146
 
147
  /* Font exactness tweaks: normalize weights and sizes like Safari */
148
  html.is-chrome body { font-weight: 400; }
149
  html.is-chrome h1, html.is-chrome h2, html.is-chrome h3 { font-weight: 700; }
150
  html.is-chrome .text-ui-text { -webkit-font-smoothing: antialiased; }
 
 
151
 
152
  /* Custom scrollbar */
153
  ::-webkit-scrollbar {
 
136
 
137
  /* Chrome-only sidebar opacity + blur look */
138
  html.is-chrome .sidebar-shell { background: rgba(255,255,255,0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); position: fixed; top: 56px; left: 0; bottom: 0; width: 15rem; display: flex; flex-direction: column; }
139
+ html.is-chrome .sidebar-nav { position: fixed; top: 72px; left: 0; width: 15rem; }
140
+ html.is-chrome .sidebar-footer { position: fixed; bottom: 0; left: 0; width: 15rem; background: transparent; }
141
  html.is-chrome .sidebar-shell { overflow: visible; }
142
  /* Ensure links remain clickable */
143
  html.is-chrome .sidebar-shell a { pointer-events: auto; }
144
+ /* Keep nav and footer fixed inside the fixed aside */
145
+ html.is-chrome .sidebar-shell .sidebar-nav, html.is-chrome .sidebar-shell .sidebar-footer { position: fixed; }
146
 
147
  /* Font exactness tweaks: normalize weights and sizes like Safari */
148
  html.is-chrome body { font-weight: 400; }
149
  html.is-chrome h1, html.is-chrome h2, html.is-chrome h3 { font-weight: 700; }
150
  html.is-chrome .text-ui-text { -webkit-font-smoothing: antialiased; }
151
+ /* Chrome-only: bold nav option text */
152
+ html.is-chrome .sidebar-nav a span { font-weight: 700; }
153
 
154
  /* Custom scrollbar */
155
  ::-webkit-scrollbar {