* Adjust screen image css.
This commit is contained in:
@@ -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';}
|
||||
|
||||
@@ -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?>
|
||||
|
||||
Reference in New Issue
Block a user