Upload folder using huggingface_hub
Browse files- client/src/components/Layout.tsx +1 -1
- client/src/index.css +9 -1
client/src/components/Layout.tsx
CHANGED
|
@@ -209,7 +209,7 @@ const Layout: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
|
| 209 |
{/* Shell: Sidebar + Content */}
|
| 210 |
<div className="flex">
|
| 211 |
{/* Sidebar */}
|
| 212 |
-
<aside className="hidden md:flex md:flex-col w-60 fixed top-14 left-0 h-[calc(100vh-56px)] border-r border-ui-border bg-ui-panel/80 backdrop-blur z-30">
|
| 213 |
<nav className="p-4 space-y-2 flex-1 overflow-auto">
|
| 214 |
{navigation.map((item) => {
|
| 215 |
const isActive = location.pathname === item.href;
|
|
|
|
| 209 |
{/* Shell: Sidebar + Content */}
|
| 210 |
<div className="flex">
|
| 211 |
{/* Sidebar */}
|
| 212 |
+
<aside className="hidden md:flex md:flex-col w-60 fixed top-14 left-0 h-[calc(100vh-56px)] 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 overflow-auto">
|
| 214 |
{navigation.map((item) => {
|
| 215 |
const isActive = location.pathname === item.href;
|
client/src/index.css
CHANGED
|
@@ -116,16 +116,24 @@ html.is-chrome body, html.is-chrome #root {
|
|
| 116 |
html.is-chrome .app-shell { content-visibility: auto; contain-intrinsic-size: 1000px 2000px; }
|
| 117 |
|
| 118 |
/* Quick Actions alignment parity with Safari (Chrome only) */
|
| 119 |
-
|
|
|
|
| 120 |
html.is-chrome .qa-card h3 { line-height: 1.25; font-weight: 600; }
|
| 121 |
html.is-chrome .qa-card p { line-height: 1.25; }
|
| 122 |
html.is-chrome .qa-card .icon-wrap { flex-shrink: 0; }
|
| 123 |
/* ensure identical spacing as Safari via explicit margins */
|
| 124 |
html.is-chrome .qa-card .icon-wrap + div { margin-left: 1rem; }
|
|
|
|
|
|
|
| 125 |
|
| 126 |
/* Chrome-only: isolate layout/paint for smoother scroll */
|
| 127 |
html.is-chrome .qa-grid { contain: layout paint; }
|
| 128 |
html.is-chrome .qa-card { will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
/* Custom scrollbar */
|
| 131 |
::-webkit-scrollbar {
|
|
|
|
| 116 |
html.is-chrome .app-shell { content-visibility: auto; contain-intrinsic-size: 1000px 2000px; }
|
| 117 |
|
| 118 |
/* Quick Actions alignment parity with Safari (Chrome only) */
|
| 119 |
+
/* Match Safari layout: no forced min-height on Chrome */
|
| 120 |
+
html.is-chrome .qa-card { min-height: 0; }
|
| 121 |
html.is-chrome .qa-card h3 { line-height: 1.25; font-weight: 600; }
|
| 122 |
html.is-chrome .qa-card p { line-height: 1.25; }
|
| 123 |
html.is-chrome .qa-card .icon-wrap { flex-shrink: 0; }
|
| 124 |
/* ensure identical spacing as Safari via explicit margins */
|
| 125 |
html.is-chrome .qa-card .icon-wrap + div { margin-left: 1rem; }
|
| 126 |
+
/* center content vertically like Safari */
|
| 127 |
+
html.is-chrome .qa-card > .flex { align-items: center; }
|
| 128 |
|
| 129 |
/* Chrome-only: isolate layout/paint for smoother scroll */
|
| 130 |
html.is-chrome .qa-grid { contain: layout paint; }
|
| 131 |
html.is-chrome .qa-card { will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
|
| 132 |
+
html.is-chrome main { will-change: transform; transform: translateZ(0); }
|
| 133 |
+
html.is-chrome body { overscroll-behavior: contain; }
|
| 134 |
+
|
| 135 |
+
/* Chrome-only sidebar opacity + blur look */
|
| 136 |
+
html.is-chrome .sidebar-shell { background: rgba(255,255,255,0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
|
| 137 |
|
| 138 |
/* Custom scrollbar */
|
| 139 |
::-webkit-scrollbar {
|