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

feat(theme): add custom height support for the navbar logo #125

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

hrradev
Copy link
Contributor

@hrradev hrradev commented Jul 19, 2024

修正logo高度未使用预定义设置(--vp-nav-logo-height),造成logo高度无法被覆写修改的问题。

修正logo高度未使用预定义设置(--vp-nav-logo-height),造成logo高度无法被覆写修改的问题。
Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for vuepress-theme-plume ready!

Name Link
🔨 Latest commit db4cf9f
🔍 Latest deploy log https://app.netlify.com/sites/vuepress-theme-plume/deploys/669a9294d184df0008ac4a72
😎 Deploy Preview https://deploy-preview-125--vuepress-theme-plume.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jul 19, 2024

Deploy Preview for vuepress-plugin-plume ready!

Name Link
🔨 Latest commit db4cf9f
🔍 Latest deploy log https://app.netlify.com/sites/vuepress-plugin-plume/deploys/669a9294bd2d4f00082c4a24
😎 Deploy Preview https://deploy-preview-125--vuepress-plugin-plume.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -51,7 +51,7 @@ const routeLocale = useRouteLocale()
}

:deep(.logo) {
height: 24px;
height: var(--vp-nav-logo-height);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的 css变量 应该添加默认值, var(--vp-nav-logo-height, 24px)

@pengzhanbo pengzhanbo changed the title Update VPNavBarTitle.vue feat(theme): add custom height support for the navbar logo Jul 19, 2024
@pengzhanbo pengzhanbo merged commit 0ab9186 into pengzhanbo:main Jul 19, 2024
9 checks passed
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.

2 participants