💄 Site > Preview > Add style

This commit is contained in:
brunosimon
2017-09-04 23:37:32 +02:00
parent e362d29d7e
commit 6a37b7ce02
2 changed files with 27 additions and 3 deletions
+24 -2
View File
@@ -5,7 +5,6 @@
left 315px left 315px
right 0 right 0
height 100% height 100%
background rgba(0, 255, 0, 0.3)
header header
position absolute position absolute
@@ -110,4 +109,27 @@ header
letter-spacing 0.25px letter-spacing 0.25px
.directory .directory
opacity 0.3 opacity 0.3
.preview
position absolute
top 50px
right 0
bottom 0
left 0
background #2d2d49
text-align center
.inner
display flex
align-items center
justify-content center
position absolute
top 50px
right 50px
bottom 50px
left 50px
img
max-width 100%
max-height 100%
+3 -1
View File
@@ -35,7 +35,9 @@
<!-- Preview --> <!-- Preview -->
<div class="preview" v-if="isImage"> <div class="preview" v-if="isImage">
<img :src="downloadUrl"> <div class="inner">
<img :src="downloadUrl">
</div>
</div> </div>
<!-- Can't read --> <!-- Can't read -->