fix(ui): modern thin scrollbars app-wide (remove classic up/down arrows)
Only the chat LIST had styled scrollbars; the chat message area and every other scroll region fell back to the OS scrollbar, which in the Electron/Windows shell shows classic up/down stepper arrows. Added a global ::-webkit-scrollbar style (thin, rounded thumb, scrollbar-button hidden) + scrollbar-width:thin to home.html, share.html, connect.html, dashboard.html. (home build batch18) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
<style>
|
||||
:root{ --brand:#FFC708; --brand-d:#E0AC00; --blue:#1F3B73; --blue-d:#16294f; --ink:#1f2430; --muted:#6b7280; --bg:#f6f8fb; --card:#fff; --line:#e6e9ef; }
|
||||
*{box-sizing:border-box;}
|
||||
/* Modern thin scrollbars (no classic up/down arrows in the Electron shell) */
|
||||
::-webkit-scrollbar{width:9px;height:9px;}
|
||||
::-webkit-scrollbar-button{display:none!important;width:0;height:0;}
|
||||
::-webkit-scrollbar-track{background:transparent;}
|
||||
::-webkit-scrollbar-thumb{background:#c7d0dd;border-radius:9px;border:2px solid transparent;background-clip:content-box;}
|
||||
::-webkit-scrollbar-thumb:hover{background:#aab6c8;}
|
||||
*{scrollbar-width:thin;scrollbar-color:#c7d0dd transparent;}
|
||||
body{font-family:'Segoe UI',system-ui,sans-serif;background:var(--bg);color:var(--ink);margin:0;}
|
||||
.topbar{background:var(--blue);padding:.7rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:.6rem;}
|
||||
.brandrow{display:flex;align-items:center;gap:.6rem;}
|
||||
|
||||
Reference in New Issue
Block a user