mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
fix(theme): fix navbar and page title
This commit is contained in:
parent
6c61b32768
commit
44a05f1ffe
@ -63,6 +63,7 @@ const NavbarBrandLogo: FunctionalComponent = () => {
|
||||
</RouterLink>
|
||||
</template>
|
||||
<style lang="scss">
|
||||
@import '../styles/variables';
|
||||
.navbar-brand {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
@ -73,4 +74,11 @@ const NavbarBrandLogo: FunctionalComponent = () => {
|
||||
border-bottom: solid 1px var(--c-border);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $MQMobile) {
|
||||
.navbar-brand.has-sidebar {
|
||||
width: auto;
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -98,6 +98,10 @@ const enabledSidebar = computed(() => {
|
||||
@media (max-width: $MQMobile) {
|
||||
.page-wrapper .page-container .page-content {
|
||||
padding: 0 0.75rem 1rem;
|
||||
|
||||
h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
.plume-theme-page-toc {
|
||||
display: none;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user