Skip to content

Commit 64b944a

Browse files
author
Niutoseq
committed
fixing overlapping breadcrumb on portrait view
1 parent d0ffbee commit 64b944a

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

docs/_static/css/general.css

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/css/main.css

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/_static/scss/general.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,22 +759,27 @@ code.docutils.literal.notranslate {
759759
@media (max-width: $breakpoint-landscape) {
760760
max-width: none;
761761
margin: 0 20px 0 60px;
762-
}
763-
764-
@media (max-width: $breakpoint-mobile) {
765-
margin: 0 20px 0 65px;
766762
width: 100%;
767763
max-width: calc(100% - 90px);
768764
overflow: scroll;
769765
white-space: nowrap;
770766
}
767+
768+
@media (max-width: $breakpoint-mobile) {
769+
margin: 0 20px 0 65px;
770+
}
771771
}
772772

773773
.wy-breadcrumbs,
774774
.wy-breadcrumbs li a,
775775
.wy-breadcrumbs-aside a {
776776
font-size: 11px;
777777
}
778+
.wy-breadcrumbs li.wy-breadcrumbs-aside {
779+
@media (max-width: $breakpoint-portrait) {
780+
display: none;
781+
}
782+
}
778783

779784
.wy-breadcrumbs li a:visited {
780785
color: var(--light-orange);

0 commit comments

Comments
 (0)