mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-08-28 19:47:49 +08:00
fix: add breathing room below header tabs
This commit is contained in:
@@ -82,14 +82,14 @@ const horizontalNavGroups = computed(() =>
|
|||||||
)
|
)
|
||||||
|
|
||||||
const navbarExtraHeight = computed(() => {
|
const navbarExtraHeight = computed(() => {
|
||||||
const dynamicTabHeight = showDynamicHeaderTab.value ? 2.5 : 0
|
const dynamicTabHeight = showDynamicHeaderTab.value ? 2.75 : 0
|
||||||
const horizontalNavHeight = showHorizontalThemeNav.value ? 3.25 : 0
|
const horizontalNavHeight = showHorizontalThemeNav.value ? 3.25 : 0
|
||||||
|
|
||||||
return `${dynamicTabHeight + horizontalNavHeight}rem`
|
return `${dynamicTabHeight + horizontalNavHeight}rem`
|
||||||
})
|
})
|
||||||
|
|
||||||
const mainContentPaddingTop = computed(() => {
|
const mainContentPaddingTop = computed(() => {
|
||||||
const dynamicTabPadding = showDynamicHeaderTab.value ? 3 : 0
|
const dynamicTabPadding = showDynamicHeaderTab.value ? 3.25 : 0
|
||||||
const horizontalNavPadding = showHorizontalThemeNav.value ? 3.5 : 0
|
const horizontalNavPadding = showHorizontalThemeNav.value ? 3.5 : 0
|
||||||
|
|
||||||
return `${dynamicTabPadding + horizontalNavPadding}rem`
|
return `${dynamicTabPadding + horizontalNavPadding}rem`
|
||||||
@@ -708,6 +708,10 @@ onMounted(async () => {
|
|||||||
margin-inline: 0 !important;
|
margin-inline: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:deep(.layout-dynamic-header-tab) {
|
||||||
|
padding-block-end: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-horizontal-logo {
|
.theme-horizontal-logo {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
|||||||
Reference in New Issue
Block a user