This commit is contained in:
tamaina
2019-03-21 04:10:49 +09:00
committed by Satsuki Yanagi
parent 047a46d966
commit 82d2b0608f
3 changed files with 18 additions and 18 deletions

View File

@@ -39,7 +39,7 @@
</div>
</div>
</div>
<div class="main" :class="{ side: widgets.left.length == 0 || widgets.right.length == 0 }">
<div class="main" :class="{ side: !customize && (widgets.left.length == 0 || widgets.right.length == 0) }">
<template v-if="customize">
<x-draggable v-for="place in ['left', 'right']"
:list="widgets[place]"
@@ -62,7 +62,7 @@
</div>
</template>
<template v-else>
<div v-for="place in ['left', 'right']" :class="place">
<div v-for="place in ['left', 'right']" :class="place" :key="place">
<component v-for="widget in widgets[place]" :is="`mkw-${widget.name}`" :key="widget.id" :ref="widget.id" :widget="widget" platform="desktop"/>
</div>
<div class="main">
@@ -392,7 +392,7 @@ export default Vue.extend({
margin 0 auto
&:not(.side)
@media (max-width 1200px)
@media (max-width 1100px)
> *:not(.main)
display none