fix(frontend): fix PageWithAnimBg style
This commit is contained in:
parent
500a5615f0
commit
165c7993e6
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<MkAnimBg style="position: absolute;"/>
|
<MkAnimBg style="position: absolute;"/>
|
||||||
<div class="_pageScrollable" style="position: absolute; top: 0; width: 100%; height: 100%;">
|
<div class="_pageScrollable" :class="$style.body">
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,5 +17,13 @@ import MkAnimBg from '@/components/MkAnimBg.vue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" module>
|
<style lang="scss" module>
|
||||||
|
.body {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
// _pageScrollable はパフォーマンス上の理由で背景色が設定されているため
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue