1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 07:18:52 +09:00
This commit is contained in:
syuilo 2022-12-28 18:02:11 +09:00
parent dc68c39cb1
commit 229d185354
10 changed files with 10 additions and 9 deletions

View File

@ -10,7 +10,7 @@
</span>
<button class="_button" @click="$refs.modal.close()"><i class="ti ti-x"></i></button>
</div>
<div class="body">
<div class="body" style="container-type: inline-size;">
<MkStickyContainer>
<template #header><MkPageHeader v-if="pageMetadata?.value && !pageMetadata?.value.hideHeader" :info="pageMetadata?.value"/></template>
<RouterView :router="router"/>

View File

@ -17,7 +17,7 @@
</template>
</template>
<div class="yrolvcoq" :style="{ background: pageMetadata?.value?.bg }">
<div class="yrolvcoq" :style="{ background: pageMetadata?.value?.bg }" style="container-type: inline-size;">
<RouterView :router="router"/>
</div>
</XWindow>

View File

@ -16,7 +16,7 @@
</div>
</MkSpacer>
</div>
<div v-if="!(narrow && currentPage?.route.name == null)" class="main">
<div v-if="!(narrow && currentPage?.route.name == null)" class="main" style="container-type: inline-size;">
<RouterView/>
</div>
</div>

View File

@ -11,7 +11,7 @@
</div>
</div>
<div v-if="!(narrow && currentPage?.route.name == null)" class="main">
<div class="bkzroven">
<div class="bkzroven" style="container-type: inline-size;">
<RouterView/>
</div>
</div>

View File

@ -11,7 +11,7 @@
</div>
<main class="main" :style="{ background: pageMetadata?.value?.bg }" @contextmenu.stop="onContextmenu">
<div class="content">
<div class="content" style="container-type: inline-size;">
<RouterView/>
</div>
</main>

View File

@ -392,6 +392,7 @@ function onDrop(ev) {
overflow-x: clip;
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
container-type: inline-size;
background-color: var(--bg);
}
}

View File

@ -5,7 +5,7 @@
<MkStickyContainer class="contents">
<template #header><XStatusBars :class="$style.statusbars"/></template>
<main style="min-width: 0;" :style="{ background: pageMetadata?.value?.bg }" @contextmenu.stop="onContextmenu">
<div :class="$style.content">
<div :class="$style.content" style="container-type: inline-size;">
<RouterView/>
</div>
<div :class="$style.spacer"></div>

View File

@ -24,7 +24,7 @@
<header v-show="mainRouter.currentRoute?.name !== 'index'" ref="header" class="header">
<XHeader :info="pageInfo"/>
</header>
<main ref="main">
<main ref="main" style="container-type: inline-size;">
<RouterView/>
</main>
<div class="powered-by">

View File

@ -11,7 +11,7 @@
<div class="contents">
<XHeader v-if="!root" class="header" :info="pageInfo"/>
<main>
<main style="container-type: inline-size;">
<RouterView/>
</main>
<div v-if="!root" class="powered-by">

View File

@ -1,5 +1,5 @@
<template>
<div class="mk-app">
<div class="mk-app" style="container-type: inline-size;">
<RouterView/>
<XCommon/>