Skip to content

Commit 1a0799f

Browse files
committed
reorder versionSelector in mobile view
Signed-off-by: Faeka Ansari <[email protected]>
1 parent 1483029 commit 1a0799f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/src/components/VersionDropdown.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
cursor: pointer;
1010
padding: 5px 10px;
1111
font-size: 1rem;
12+
width: fit-content;
1213
font-weight: bold;
1314
text-align: center;
1415
}
@@ -21,4 +22,18 @@
2122
.navbar__items--right .version_dropdown {
2223
display: none;
2324
}
25+
26+
.version_dropdown {
27+
display: flex;
28+
flex-direction: column;
29+
order: -1;
30+
width: fit-content;
31+
margin: 10px 0px 10px 10px;
32+
}
33+
34+
.menu__list {
35+
display: flex;
36+
flex-direction: column; /* Default layout for desktop */
37+
}
38+
2439
}

0 commit comments

Comments
 (0)