forked from naskya/firefish
fix: timeline top bar style
This commit is contained in:
parent
41a7382ba4
commit
9a1b0a59e9
2 changed files with 12 additions and 10 deletions
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue