Skip to content

Commit

Permalink
fix(design): tablet responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Apr 4, 2020
1 parent 6eca639 commit a97199a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/style.css
Expand Up @@ -538,7 +538,7 @@ html[data-theme='dark'] {
@media (max-width: 750px) {
:root {
/* quickfix https://stackoverflow.com/questions/37112218/css3-100vh-not-constant-in-mobile-browser */
--docsearch-modal-height: calc(100vh - 110px);
--docsearch-modal-height: 100vh;
--docsearch-spacing: 10px;
--docsearch-footer-height: 40px;
}
Expand All @@ -549,7 +549,9 @@ html[data-theme='dark'] {
.DocSearch-Modal {
border-radius: 0;
box-shadow: none;
margin: 0 auto;
margin: 0;
width: 100%;
max-width: 100%;
}
.DocSearch-Cancel {
display: inline-block;
Expand Down

0 comments on commit a97199a

Please sign in to comment.