Skip to content

Commit 2064e04

Browse files
committed
fix: remove overflow on unhide
1 parent 3a938e8 commit 2064e04

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

src/index.css

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -161,23 +161,6 @@ body {
161161
border: 2px solid red;
162162
}
163163

164-
@media screen and (orientation: portrait) {
165-
#root {
166-
grid-template-columns: 1fr;
167-
grid-template-rows: 1fr 30%;
168-
}
169-
#menu {
170-
border-top: 1px solid gray;
171-
overflow-y: scroll;
172-
}
173-
.regions {
174-
overflow: unset;
175-
}
176-
#regions {
177-
overflow-y: unset;
178-
}
179-
}
180-
181164
.regions-hidden {
182165
display: none !important;
183166
}
@@ -210,4 +193,24 @@ body {
210193
stroke-width: 0.5;
211194
stroke-dasharray: 1 1;
212195
}
213-
}
196+
}
197+
198+
@media screen and (orientation: portrait) {
199+
#root {
200+
grid-template-columns: 1fr;
201+
grid-template-rows: 1fr 30%;
202+
}
203+
#menu {
204+
border-top: 1px solid gray;
205+
overflow-y: scroll;
206+
}
207+
.regions {
208+
overflow: unset;
209+
}
210+
#regions {
211+
overflow-y: unset;
212+
}
213+
.unhide {
214+
overflow-y: unset;
215+
}
216+
}

0 commit comments

Comments
 (0)