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

View file

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