-
Notifications
You must be signed in to change notification settings - Fork 923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(theme-default): samesite css #987
Conversation
Could you help to confirm if the fix valid when there is a search input? For example, enabling |
16abac4
to
28daebb
Compare
its not good when there is a search input. and i fix it. @meteorlxy |
I saw you set the width to a fixed value. Have you tested with navbar items? |
@@ -15,10 +15,15 @@ | |||
} | |||
|
|||
.site-name { | |||
display: inline-block; | |||
width: calc(100vw - 18rem); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously because of dynamic contents in navbar, we should never set this to a fixed value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh,i see. Is it better to limit the navbar-items-wrapper and navbarBrand width with js?
conflict between the two when their too long
Description
Linked with this feature request issue vuepress/ecosystem#3
Note
mobile:
pc: