Skip to content

Commit ca6097b

Browse files
committed
fixes:version_selector overlay
1 parent d5a8301 commit ca6097b

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

docs/stylesheets/extra.css

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@ a.md-header__button.md-logo img {
154154
border-radius: 10px;
155155
}
156156

157+
.md-search__inner {
158+
max-width: 30rem;
159+
}
160+
157161
.md-search__input {
158162
background-color: white;
159163
border: black 1px solid;
@@ -583,6 +587,13 @@ a.md-header__button.md-logo img {
583587
}
584588
}
585589

590+
@media screen and (min-width: 60em) {
591+
[data-md-toggle="search"]:checked ~ .md-header .md-version {
592+
visibility: hidden;
593+
pointer-events: none;
594+
}
595+
}
596+
586597
@media (max-width: 630px) {
587598
[dir=ltr] ul.md-tabs__list {
588599
margin-left: 3rem;
@@ -698,10 +709,8 @@ article.md-search-result__article p:not(.md-search-result__meta) {
698709
}
699710

700711

701-
.md-search__inner {
702-
max-width: 30rem;
703-
}
704712

705-
.md-header[data-md-state="search"] .md-version {
706-
display: none;
707-
}
713+
714+
715+
716+

0 commit comments

Comments
 (0)