mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
Fixed native scrollbars in Chrome 121 (#4491)
Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
parent
f3a07f976d
commit
6101ee62be
@ -924,9 +924,17 @@ a.no-line {
|
||||
|
||||
.overflow-x-auto { overflow-x: auto; }
|
||||
.overflow-y-auto { overflow-y: auto; }
|
||||
.overflow-x-auto,
|
||||
.overflow-y-auto { scrollbar-width: thin; }
|
||||
|
||||
.whitespace-nowrap { white-space: nowrap; }
|
||||
|
||||
/* Scrollbars */
|
||||
.scroll-m-0,
|
||||
.scroll-m-10,
|
||||
.scroll-bg-accent-color,
|
||||
.scroll-divider-color { scrollbar-width: thin; }
|
||||
|
||||
.scroll-m-0::-webkit-scrollbar-track { margin: 0; }
|
||||
.scroll-m-10::-webkit-scrollbar-track { margin: 2.5rem; }
|
||||
|
||||
@ -960,6 +968,7 @@ a.no-line {
|
||||
.background-primary-color { background-color: var(--primary-button-default); }
|
||||
.background-content-accent-color { background-color: var(--accent-color); }
|
||||
.background-comp-header-color { background-color: var(--theme-comp-header-color) !important; }
|
||||
.background-navpanel-color { background-color: var(--theme-navpanel-color) !important; }
|
||||
|
||||
.content-trans-color { color: var(--theme-trans-color); }
|
||||
.content-darker-color { color: var(--theme-darker-color); }
|
||||
|
@ -71,7 +71,7 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
touch-action: manipulation;
|
||||
scrollbar-color: var(--theme-comp-header-color) var(--theme-back-color);
|
||||
scrollbar-color: var(--theme-navpanel-divider) transparent;
|
||||
scrollbar-width: none;
|
||||
--body-font-size: .875rem;
|
||||
--status-bar-height: 36px;
|
||||
|
@ -167,6 +167,7 @@
|
||||
height: max-content;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
|
||||
&::-webkit-scrollbar { width: 0; }
|
||||
.box {
|
||||
@ -330,6 +331,8 @@
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
scrollbar-width: thin;
|
||||
|
||||
&::-webkit-scrollbar-track { margin: 0; }
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--scrollbar-bar-color);
|
||||
|
@ -50,6 +50,7 @@
|
||||
overflow-y: hidden;
|
||||
margin-right: 0;
|
||||
margin-bottom: -0.75rem;
|
||||
scrollbar-width: thin;
|
||||
|
||||
.box {
|
||||
position: absolute;
|
||||
|
Loading…
Reference in New Issue
Block a user