We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a8bc1 commit 8e37d7aCopy full SHA for 8e37d7a
1 file changed
SporeCommunity.ModBrowser.Blazor/wwwroot/style/style.css
@@ -64,7 +64,6 @@ nav a:hover {
64
}
65
66
#main-nav-buttons {
67
- /* Need to hide this if window width is under 768px, and switch to menu button */
68
width: 300px;
69
position: absolute;
70
top: -48px;
@@ -75,6 +74,18 @@ nav a:hover {
75
74
border-radius: 0 0 0 24px;
76
77
+@media (max-width: 768px) {
78
+ /* Quick and simple fix for mobile - not the prettiest but it works */
79
+ #main-nav-buttons {
80
+ width: calc(100vw - 16px);
81
+ position: relative;
82
+ top: -16px;
83
+ left: -24px;
84
+ border-left: 0;
85
+ border-radius: 0;
86
+ }
87
+}
88
+
89
#main-nav-buttons a {
90
padding: 0;
91
0 commit comments