From 31e28130809ba00c7d978eed2d9239b6c3be2f17 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 10 Feb 2023 19:13:18 +0000 Subject: [PATCH] fix --- .../frontend/src/components/global/MkPageHeader.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/packages/frontend/src/components/global/MkPageHeader.vue b/packages/frontend/src/components/global/MkPageHeader.vue index bce0690abd..19a6f504eb 100644 --- a/packages/frontend/src/components/global/MkPageHeader.vue +++ b/packages/frontend/src/components/global/MkPageHeader.vue @@ -261,12 +261,6 @@ onUnmounted(() => { .lower { --height: 40px; height: var(--height); - - &.slim { - .tabsInner { - margin: 0 auto; - } - } } .buttons { @@ -382,11 +376,12 @@ onUnmounted(() => { } .tabs { - display: fix; + display: block; position: relative; margin: 0; height: var(--height); font-size: 0.8em; + text-align: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; @@ -397,7 +392,7 @@ onUnmounted(() => { } .tabsInner { - display: block; + display: inline-block; height: var(--height); white-space: nowrap; }