fix(theme): fix navbar and page title

This commit is contained in:
pengzhanbo 2022-10-16 23:23:47 +08:00
parent 6c61b32768
commit 44a05f1ffe
2 changed files with 12 additions and 0 deletions

View File

@ -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>

View File

@ -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;