Skip to content

Commit c66e26c

Browse files
committed
fixed docs css
1 parent efe75a1 commit c66e26c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,19 @@ nav.md-nav--primary ul.md-nav__list li.md-nav__item--active.md-nav__item--nested
2020
margin-right: auto;
2121
max-width: 80%;
2222
}
23+
/* Styles for devices with a screen width of 768px or less (e.g., tablets and mobile phones) */
24+
@media only screen and (max-width: 768px) {
25+
.md-grid {
26+
max-width: 90%;
27+
}
28+
}
2329

30+
/* Styles for devices with a screen width of 480px or less (e.g., mobile phones) */
31+
@media only screen and (max-width: 480px) {
32+
.md-grid {
33+
max-width: 95%;
34+
}
35+
}
2436
.md-tabs {
2537
background-color: #a50a3e !important;
2638
text-transform: uppercase;

0 commit comments

Comments
 (0)