Skip to content

Commit

Permalink
fix(css): older sass supported syntax (#2415)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Dec 17, 2024
1 parent 1f097d9 commit 0658d31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/docsearch-css/src/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
box-shadow: var(--docsearch-key-pressed-shadow);
}

@media (width <= 768px) {
@media (max-width: 768px) {
.DocSearch-Button-Keys,
.DocSearch-Button-Placeholder {
display: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/docsearch-css/src/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ assistive tech users */
}

/* Responsive */
@media (width <= 768px) {
@media (max-width: 768px) {
:root {
--docsearch-spacing: 10px;
--docsearch-footer-height: 40px;
Expand Down
4 changes: 2 additions & 2 deletions packages/website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ html[data-theme='dark'] {
}

/* DocSearch x Algolia logo */
@media (width <=565px) {
@media (max-width: 565px) {
.navbar__logo .docsearch-nav-logo {
width: 70%;
height: auto;
Expand All @@ -38,7 +38,7 @@ html[data-theme='dark'] {
}

/* DocSearch x Algolia logo in sidebar */
@media (width >=997px) {
@media (min-width: 997px) {
.theme-doc-sidebar-container .docsearch-nav-logo {
height: auto;
}
Expand Down

0 comments on commit 0658d31

Please sign in to comment.