Skip to content

Commit 910dc14

Browse files
committed
fix demo scrollbars
1 parent 4c33ca7 commit 910dc14

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

docs/demo/demo.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ header {
2323
box-sizing: border-box;
2424
border-bottom: 1px solid var(--border-color);
2525
gap: 16px;
26+
overflow-x: auto;
27+
overflow-y: hidden;
2628
}
2729

2830
header .logo-link {
@@ -94,10 +96,6 @@ header h1 {
9496
font-size: 20px;
9597
}
9698

97-
@media screen {
98-
99-
}
100-
10199
.containers {
102100
display: flex;
103101
height: calc(100vh - 68px);
@@ -106,6 +104,12 @@ header h1 {
106104
box-sizing: border-box;
107105
}
108106

107+
@media (max-width: 900px) {
108+
.containers {
109+
flex-direction: column;
110+
}
111+
}
112+
109113
.container {
110114
flex-basis: 50%;
111115
display: flex;
@@ -126,6 +130,8 @@ header h1 {
126130
align-items: center;
127131
gap: 8px;
128132
color: var(--text-color);
133+
overflow-x: auto;
134+
overflow-y: hidden;
129135
}
130136

131137

0 commit comments

Comments
 (0)