adjust auto ScrollBar styles.

This commit is contained in:
Vixalie 2025-03-01 07:48:35 +08:00
parent f5ac8873d1
commit 3f175a1958
4 changed files with 16 additions and 2 deletions

View File

@ -25,6 +25,9 @@
} }
} }
section { section {
min-height: 0;
min-width: 0;
overflow: hidden;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@ -1,9 +1,11 @@
@layer components { @layer components {
.scroll_area { .scroll_area {
display: grid; display: grid;
width: 100%; min-width: 0;
height: 100%; min-height: 0;
overflow: hidden; overflow: hidden;
padding-inline-end: calc(var(--spacing) * 2);
padding-block-end: calc(var(--spacing) * 2);
grid-template-columns: auto calc(var(--spacing) * 3); grid-template-columns: auto calc(var(--spacing) * 3);
grid-template-rows: auto calc(var(--spacing) * 3); grid-template-rows: auto calc(var(--spacing) * 3);
&.hide_thumb_y { &.hide_thumb_y {

View File

@ -1,5 +1,8 @@
@layer pages { @layer pages {
.devices { .devices {
min-width: 0;
min-height: 0;
overflow: hidden;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -19,6 +19,12 @@
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
} }
*,
*::before,
*::after {
box-sizing: border-box;
}
:where(html, body) { :where(html, body) {
color-scheme: dark; color-scheme: dark;
width: 100vw; width: 100vw;