* Adjust screen image css.

This commit is contained in:
wangyuting2
2023-03-23 13:41:54 +08:00
parent c162f1e4c0
commit fe2c72be75
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@
.screen .top {text-align: center; min-height:182px; position:relative;}
.screen .top.img {height: 182px; text-align: center;}
.screen .top.img img {height:100%; overflow: hidden; object-fit: cover; object-position: top;}
.screen .top.img.image_draft img {object-position: center;}
.screen .top .image {height:100%; display:flex; align-items:center; justify-content:center;}
.screen .top .image i {font-size:100px;}
.screen .top .image i:before {content: '\f1c5';}
+1 -1
View File
@@ -19,7 +19,7 @@
<img src='<?php echo $screen->cover;?>' controls='controls' width='100%'/>
</div>
<?php else:?>
<div class='top img'>
<div class='top img image_<?php echo $screen->status;?>'>
<img src='<?php echo "static/images/screen_{$screen->status}.png";?>' controls='controls' width='100%'/>
</div>
<?php endif?>