1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-23 22:56:49 +09:00
This commit is contained in:
syuilo 2021-10-16 19:20:49 +09:00
parent c194eddb1b
commit d672fccef4
10 changed files with 10 additions and 10 deletions

View File

@ -10,7 +10,7 @@
</span>
<button class="_button" @click="$refs.modal.close()"><i class="fas fa-times"></i></button>
</div>
<div class="body _flat_">
<div class="body _fitSide_">
<keep-alive>
<component :is="component" v-bind="props" :ref="changePage"/>
</keep-alive>

View File

@ -16,7 +16,7 @@
<template #headerLeft>
<button v-if="history.length > 0" class="_button" @click="back()" v-tooltip="$ts.goBack"><i class="fas fa-arrow-left"></i></button>
</template>
<div class="yrolvcoq _flat_">
<div class="yrolvcoq _fitSide_">
<component :is="component" v-bind="props" :ref="changePage"/>
</div>
</XWindow>

View File

@ -154,7 +154,7 @@ export default defineComponent({
}
}
._flat_ .ssazuxis {
._fitSide_ .ssazuxis {
> header {
padding: 0 16px;
}

View File

@ -43,7 +43,7 @@ export default defineComponent({
}
}
._flat_ .fpezltsf {
._fitSide_ .fpezltsf {
border-radius: 0;
}
</style>

View File

@ -827,7 +827,7 @@ export default defineComponent({
}
}
._flat_ .ftskorzw.narrow {
._fitSide_ .ftskorzw.narrow {
> .profile {
> .warn {
margin: 0;

View File

@ -380,7 +380,7 @@ hr {
}
}
._flat_ {
._fitSide_ {
--root-margin: 0px;
--baseContentWidth: 100%;
--panelBorder: none;

View File

@ -3,7 +3,7 @@
<header class="header" @contextmenu.prevent.stop="onContextmenu">
<MkHeader class="title" :info="pageInfo" :center="false"/>
</header>
<component :is="component" v-bind="props" :ref="changePage" class="body _flat_"/>
<component :is="component" v-bind="props" :ref="changePage" class="body _fitSide_"/>
</div>
</template>

View File

@ -7,7 +7,7 @@
</template>
</template>
<router-view v-slot="{ Component }" class="_flat_">
<router-view v-slot="{ Component }" class="_fitSide_">
<transition>
<keep-alive :include="['timeline']">
<component :is="Component" :ref="changePage" @contextmenu.stop="onContextmenu"/>

View File

@ -13,7 +13,7 @@
</template>
<main class="main" @contextmenu.stop="onContextmenu" :style="{ background: pageInfo?.bg }">
<div class="content" :class="{ _flat_: !fullView }">
<div class="content" :class="{ _fitSide_: !fullView }">
<router-view v-slot="{ Component }">
<transition :name="$store.state.animation ? 'page' : ''" mode="out-in" @enter="onTransition">
<keep-alive :include="['timeline']">

View File

@ -3,7 +3,7 @@
<template #header><i class="fas fa-bell"></i>{{ $ts.notifications }}</template>
<template #func><button @click="configure()" class="_button"><i class="fas fa-cog"></i></button></template>
<div class="_flat_">
<div class="_fitSide_">
<XNotifications :include-types="props.includingTypes"/>
</div>
</MkContainer>