+ Add cover for screen.

This commit is contained in:
zhujinyong
2022-12-26 08:40:47 +08:00
parent 469702357b
commit f6c4838800
8 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
.screen {border-radius: 4px; border: solid 1px #ddd; margin-bottom: 20px; position: relative;}
.screen .top {text-align: center; min-height:182px; position:relative;}
.screen .top.img {height: 182px; text-align: center;}
.screen .top.img img {height:100%; width:auto}
.screen .top.img img {height:100%; overflow: hidden; object-fit: cover; object-position: top;}
.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';}