Skip to content

Commit ba41220

Browse files
committed
fix(docs): keep header items static when search expands
1 parent b95521e commit ba41220

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

docs/stylesheets/extra.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,13 @@ a.md-header__button.md-logo img {
148148

149149
.md-header__source {
150150
color: var(--md-primary-fg-color--dark);
151+
flex: 0 0 auto !important;
152+
margin-left: 1rem;
153+
}
154+
155+
[data-md-toggle="search"]:checked ~ .md-header .md-header__source {
156+
transform: none !important;
157+
margin-left: 1rem !important;
151158
}
152159

153160
.md-search__form {
@@ -731,3 +738,5 @@ article.md-search-result__article p:not(.md-search-result__meta) {
731738
}
732739

733740

741+
742+

0 commit comments

Comments
 (0)