mirror of
https://example.com
synced 2024-11-25 09:56:39 +09:00
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"
|
||||
: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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue