mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 01:42:50 +08:00
Fix mobile menu bar clipping its own dropdown menus
overflow-x: auto on the menu bar also forces overflow-y to auto, which clipped the absolutely-positioned dropdown to the bar's own height instead of letting it float over the page. Let the bar wrap onto a second line instead, since overflow isn't needed at this breakpoint anyway.
This commit is contained in:
1 parent
fcbf3ea40d
commit
530415b50b
1 file changed
+3
-2
+3
-2
@@ -1257,8 +1257,9 @@
|
|||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
.ts-menubar {
|
.ts-menubar {
|
||||||
overflow-x: auto;
|
flex-wrap: wrap;
|
||||||
white-space: nowrap;
|
row-gap: 0.2rem;
|
||||||
|
gap: 0.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ts-toolbar {
|
.ts-toolbar {
|
||||||
|
|||||||
Reference in new issue
Block a user