[O] Put artwork in container
This commit is contained in:
+24
-18
@@ -5,14 +5,16 @@
|
|||||||
<div id="title-sub">{{config.title.sub}}</div>
|
<div id="title-sub">{{config.title.sub}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-card class="artwork" :body-style="{padding: '0px'}"
|
<div id="artwork-container">
|
||||||
v-for="artwork in artworks">
|
<el-card class="artwork" :body-style="{padding: '0px'}"
|
||||||
<div class="image" :style="{'background-image': artwork.imgThumb}"></div>
|
v-for="artwork in artworks">
|
||||||
<div style="padding: 14px;">
|
<div class="image" :style="{'background-image': artwork.imgThumb}"></div>
|
||||||
<div class="title">{{artwork.title}}</div>
|
<div style="padding: 14px;">
|
||||||
<div class="time">{{artwork.rawDate}}</div>
|
<div class="title">{{artwork.title}}</div>
|
||||||
</div>
|
<div class="time">{{artwork.rawDate}}</div>
|
||||||
</el-card>
|
</div>
|
||||||
|
</el-card>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="footer" :style="footerStyle">
|
<div id="footer" :style="footerStyle">
|
||||||
|
|
||||||
@@ -170,20 +172,24 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.artwork
|
#artwork-container
|
||||||
{
|
{
|
||||||
display: inline-block;
|
|
||||||
margin: 2vh;
|
|
||||||
|
|
||||||
.image
|
.artwork
|
||||||
{
|
{
|
||||||
height: 30vh;
|
display: inline-block;
|
||||||
width: 30vh;
|
margin: 2vh;
|
||||||
}
|
|
||||||
|
|
||||||
.time
|
.image
|
||||||
{
|
{
|
||||||
font-size: 12px;
|
height: 30vh;
|
||||||
|
width: 30vh;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time
|
||||||
|
{
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user