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:
+11
-1
@@ -129,6 +129,16 @@
|
||||
.search-x{position:absolute;right:.5rem;top:50%;transform:translateY(-50%);border:none;background:transparent;color:var(--muted);cursor:pointer;padding:.2rem;border-radius:6px;display:grid;place-items:center;}
|
||||
.search-x:hover{color:var(--blue);background:var(--blue-soft);}
|
||||
|
||||
/* Modern thin scrollbars for every scroll area (chat, modals, lists, …). Without this,
|
||||
Electron on Windows falls back to the classic scrollbar with up/down stepper arrows. */
|
||||
::-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;}
|
||||
::-webkit-scrollbar-corner{background:transparent;}
|
||||
*{scrollbar-width:thin;scrollbar-color:#c7d0dd transparent;}
|
||||
|
||||
.chatlist{overflow-y:auto;flex:1 1 auto;padding:.4rem;scrollbar-width:thin;scrollbar-color:transparent transparent;}
|
||||
.chatlist:hover{scrollbar-color:#c7d0dd transparent;}
|
||||
.chatlist::-webkit-scrollbar{width:7px;}
|
||||
@@ -721,7 +731,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<script src="/icons.js?v=4"></script>
|
||||
<script>window.__BUILD='2026-06-30-batch17';console.log('%cBiz Connect','color:#1F3B73;font-weight:bold','build '+window.__BUILD);</script>
|
||||
<script>window.__BUILD='2026-06-30-batch18';console.log('%cBiz Connect','color:#1F3B73;font-weight:bold','build '+window.__BUILD);</script>
|
||||
<div class="loading" id="loading">Loading…</div>
|
||||
|
||||
<header>
|
||||
|
||||
Reference in New Issue
Block a user