タイトルバー非表示オプション削除

This commit is contained in:
syuilo
2021-04-15 23:27:28 +09:00
parent 05ba1d0fd4
commit a19c1535e8
4 changed files with 4 additions and 17 deletions

View File

@ -2,8 +2,8 @@
<div class="mk-app" :class="{ wallpaper }">
<XSidebar ref="nav" class="sidebar"/>
<div class="contents" ref="contents" :class="{ withHeader: $store.state.titlebar }" @contextmenu.stop="onContextmenu">
<header v-if="$store.state.titlebar" class="header" ref="header" @click="onHeaderClick">
<div class="contents" ref="contents" @contextmenu.stop="onContextmenu">
<header class="header" ref="header" @click="onHeaderClick">
<XHeader :info="pageInfo"/>
</header>
<main ref="main">
@ -260,10 +260,7 @@ export default defineComponent({
width: 100%;
min-width: 0;
--stickyTop: #{$header-height};
&.withHeader {
padding-top: $header-height;
}
padding-top: $header-height;
> .header {
position: fixed;