fix: timeline top bar style

This commit is contained in:
naskya 2023-12-20 17:54:33 +09:00
parent 41a7382ba4
commit 9a1b0a59e9
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
2 changed files with 12 additions and 10 deletions

View file

@ -6,13 +6,10 @@
:actions="headerActions" :actions="headerActions"
:tabs="headerTabs" :tabs="headerTabs"
:display-my-avatar="true" :display-my-avatar="true"
class="xytnxiau" :class="{ isMobile: 'xytnxiau' }"
/> />
</template> </template>
<MkSpacer <MkSpacer :content-max="800" :class="{ isMobile: 'upsvvhaz' }">
:content-max="800"
:style="`padding-top: ${isMobile ? 67 : 79}px`"
>
<swiper <swiper
:round-lengths="true" :round-lengths="true"
:touch-angle="25" :touch-angle="25"
@ -198,4 +195,8 @@ function syncSlide(index) {
position: fixed; position: fixed;
top: 0; top: 0;
} }
.upsvvhaz {
padding-top: 67px;
}
</style> </style>

View file

@ -6,13 +6,10 @@
:actions="headerActions" :actions="headerActions"
:tabs="headerTabs" :tabs="headerTabs"
:display-my-avatar="true" :display-my-avatar="true"
class="xytnxiau" :class="{ isMobile: 'xytnxiau' }"
/> />
</template> </template>
<MkSpacer <MkSpacer :content-max="800" :class="{ isMobile: 'upsvvhaz' }">
:content-max="800"
:style="`padding-top: ${isMobile ? 67 : 79}px`"
>
<div ref="rootEl" v-hotkey.global="keymap" class="cmuxhskf"> <div ref="rootEl" v-hotkey.global="keymap" class="cmuxhskf">
<XPostForm <XPostForm
v-if="defaultStore.reactiveState.showFixedPostForm.value" v-if="defaultStore.reactiveState.showFixedPostForm.value"
@ -310,6 +307,10 @@ onMounted(() => {
top: 0; top: 0;
} }
.upsvvhaz {
padding-top: 67px;
}
.cmuxhskf { .cmuxhskf {
--swiper-theme-color: var(--accent); --swiper-theme-color: var(--accent);
> .tl { > .tl {