Skip to content

Commit 0747d97

Browse files
committed
feat(docsify): improve nav menu responsivness
1 parent 6772585 commit 0747d97

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

styles/documentation.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,12 @@ footer {
236236
text-align: center;
237237
}
238238

239-
/* Mobile */
240-
239+
/* Responsivness */
240+
@media (min-width: 1201px) and (max-width: 1350px) {
241+
.app-nav li {
242+
padding: 0 .6rem;
243+
}
244+
}
241245
@media (min-width: 1201px) {
242246
.app-nav > ul {
243247
display: flex !important;
@@ -248,6 +252,10 @@ footer {
248252
.app-nav > ul #back {
249253
display: none;
250254
}
255+
/* li that contains back link for mobile */
256+
.app-nav > ul > li:first-child {
257+
display: none;
258+
}
251259
.backdrop {
252260
display: none;
253261
}

0 commit comments

Comments
 (0)