Skip to content
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): fix inactive style #1260

Merged
merged 2 commits into from Feb 15, 2023

Conversation

ntnyq
Copy link
Contributor

@ntnyq ntnyq commented Feb 15, 2023

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Documentation update
  • Other

Description

Text overflow ellipsis is inactive because span.site-name is an inline element.

The style width takes no effect.

The rule .can-hide is moved to ensure it can overrides display: block; when there is a navbarBrandLogo.

The width is changed to adapt the situation that there is both a ColorModeSwitch and a NavbarSearch.

Screenshots

Before

Screenshot 2023-02-15 at 17 24 21

After

Screenshot 2023-02-15 at 17 37 49

@meteorlxy meteorlxy merged commit 95363a5 into vuepress:main Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants