Skip to content

Commit

Permalink
feat(css): set breakpoints the de facto value
Browse files Browse the repository at this point in the history
768px has been much more common for many years (since 2010), and
other major CSS frameworks have used 768px as the breakpoint for
years.

Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
  • Loading branch information
tnir committed Jul 21, 2022
1 parent 11e1090 commit b36b061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/docsearch-css/src/button.css
Expand Up @@ -63,7 +63,7 @@
width: 20px;
}

@media (max-width: 750px) {
@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
Expand Up @@ -556,7 +556,7 @@ svg.DocSearch-Hit-Select-Icon {
}

/* Responsive */
@media (max-width: 750px) {
@media (max-width: 768px) {
:root {
--docsearch-spacing: 10px;
--docsearch-footer-height: 40px;
Expand Down

0 comments on commit b36b061

Please sign in to comment.