This commit is contained in:
syuilo 2017-11-10 01:33:30 +09:00
parent b93a9cdd8c
commit 90d3f94fcf
1 changed files with 21 additions and 4 deletions

View File

@ -24,7 +24,7 @@
<button onclick={ addWidget }>追加</button> <button onclick={ addWidget }>追加</button>
</div> </div>
<div class="trash" ref="trash"> <div class="trash" ref="trash">
<p class="ignore"><b>ゴミ箱</b> (ここにウィジェットをドロップすると削除できます)</p> <p class="ignore"><b>ゴミ箱</b><br>(ここにウィジェットをドロップすると削除できます)</p>
</div> </div>
</div> </div>
<div class="main"> <div class="main">
@ -46,14 +46,31 @@
> .customize > .customize
display flex display flex
margin 0 auto margin 0 auto
max-width 1200px max-width 1200px - 32px
background #fff1c8 background #fff
border-radius 0 0 16px 16px
border solid 1px #ddd
border-top none
> div > div
padding 16px
width 50% width 50%
&.adder
> p
display inline
&.trash &.trash
background #ffc5c5 border-left solid 1px #ddd
> p
position absolute
top 0
left 0
width 100%
margin 0
text-align center
pointer-events none
> .main > .main
display flex display flex