File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ export function AppShell() {
101101 bell far right. A shrink-0 sibling of the canvas, so the canvas
102102 gives up exactly its height and stays the only scroll region. */ }
103103 < TopBar onSearch = { openSearch } />
104- < div className = "flex min-h-0 flex-1 flex-col p-2 pt-0 lg:p-3 lg:pl-0 lg:pt-3" >
104+ { /* Visible gap on every side between the floating canvas and the
105+ outer shell (including sidebar-side, so the canvas is narrower). */ }
106+ < div className = "flex min-h-0 flex-1 flex-col p-2 pt-0 lg:p-3 lg:pt-3" >
105107 { /* Deliberate 8px exception to the 6px radius rule: the floating
106108 canvas alone reads better slightly softer at shell scale. */ }
107109 < main className = "min-h-0 flex-1 overflow-y-auto rounded-[8px] border border-steel/20 bg-canvas" >
Original file line number Diff line number Diff line change 2727 ::selection {
2828 @apply bg-primary/40 text-charcoal;
2929 }
30+
31+ /* Themed scrollbars, matching the shell palette in every scroll region
32+ (canvas, sidebar nav, popovers). Standard properties for Firefox and
33+ modern Chromium; the -webkit rules cover Safari. */
34+ * {
35+ scrollbar-width : thin;
36+ scrollbar-color : theme ('colors.steel / 40%' ) transparent;
37+ }
38+
39+ ::-webkit-scrollbar {
40+ width : 10px ;
41+ height : 10px ;
42+ }
43+
44+ ::-webkit-scrollbar-track {
45+ background : transparent;
46+ }
47+
48+ ::-webkit-scrollbar-thumb {
49+ border-radius : 9999px ;
50+ border : 2px solid transparent;
51+ background-clip : content-box;
52+ background-color : theme ('colors.steel / 40%' );
53+ }
54+
55+ ::-webkit-scrollbar-thumb : hover {
56+ background-color : theme ('colors.steel / 60%' );
57+ }
58+
59+ ::-webkit-scrollbar-corner {
60+ background : transparent;
61+ }
3062}
You can’t perform that action at this time.
0 commit comments