Skip to content

Commit 79def50

Browse files
committed
fixes layout changes across viewports
1 parent aeb1432 commit 79def50

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

docs/stylesheets/extra.css

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,11 @@ a.md-header__button.md-logo img {
688688
.md-search__form {
689689
border-radius: 10px;
690690
}
691-
691+
692+
.md-search__inner {
693+
max-width: 31rem;
694+
}
695+
692696
.md-search__input {
693697
background-color: white;
694698
border: black 1px solid;
@@ -703,20 +707,6 @@ a.md-header__button.md-logo img {
703707
margin-right: 0.75rem;
704708
}
705709

706-
.md-header__ellipsis {
707-
width: auto !important;
708-
max-width: 100% !important;
709-
}
710-
711-
.md-search {
712-
flex: 0 0 auto !important;
713-
width: 18rem;
714-
}
715-
716-
[data-md-toggle="search"]:checked ~ .md-header .md-search {
717-
width: 35rem;
718-
}
719-
720710
.md-header__list {
721711
gap: 0.75rem;
722712
}
@@ -726,6 +716,10 @@ a.md-header__button.md-logo img {
726716
max-height: none;
727717
}
728718

719+
.md-search-result__article {
720+
max-height: none;
721+
}
722+
729723
.md-search-result__teaser,
730724
article.md-search-result__article p:not(.md-search-result__meta) {
731725
display: -webkit-box;

0 commit comments

Comments
 (0)