You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I still don't quite understand the purpose of the @media (min-width: 751px) {...}, since in other default theme components, the screen width breakpoint is at 720px, but it seems to me that combining the two media queries should solve the problem.
Another solution might be to simply move the min-width: 176.3px; under the @media (min-width: 751px) {...) section.
The text was updated successfully, but these errors were encountered:
Describe the bug
Between screen sizes
720px
and751px
, the search field is collapsed, but still takes up the space of the expanded version:This issue seems to be baked into the VitePress default theme.
To Reproduce
Steps to reproduce the behavior:
800px
(laptop or desktop).751px
threshold.Expected behavior
A clear and concise description of what you expected to happen.
The search field should only collapse at screen sizes smaller than
720px
.System Info
2.0.3
for local reproduction.15.10.0
for local reproduction.Additional context
Add any other context about the problem here.
From https://github.com/vuejs/vitepress/blob/master/src/client/theme-default/components/AlgoliaSearchBox.vue:
I still don't quite understand the purpose of the
@media (min-width: 751px) {...}
, since in other default theme components, the screen width breakpoint is at720px
, but it seems to me that combining the two media queries should solve the problem.Another solution might be to simply move the
min-width: 176.3px;
under the@media (min-width: 751px) {...)
section.The text was updated successfully, but these errors were encountered: