Commit 7b20e706 authored by GuanHua's avatar GuanHua
parents 12989936 1bb6b37b
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
//图片画廊 //图片画廊
.picture-card-box{ .picture-card-box{
margin-bottom: 30px; margin-bottom: 30px;
// display: flex; // display: flex;
.card-add-box{ .card-add-box{
width: 196px; width: 196px;
height: 196px; height: 196px;
...@@ -137,16 +137,17 @@ ...@@ -137,16 +137,17 @@
.imgItem{ .imgItem{
width:180px; width:180px;
height:180px; height:180px;
margin-left: 16px; // margin-left: 16px;
border:1px solid rgba(235,236,240,1); border:1px solid rgba(235,236,240,1);
position: relative; position: relative;
object-fit: contain;
img{ img{
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
} }
.videoItem{ .videoItem{
...@@ -183,7 +184,7 @@ ...@@ -183,7 +184,7 @@
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
} }
img{ img{
object-fit: fill; object-fit: fill;
...@@ -218,4 +219,4 @@ ...@@ -218,4 +219,4 @@
.site-input-right:hover, .site-input-right:hover,
.site-input-right:focus { .site-input-right:focus {
border-right-width: 1px; border-right-width: 1px;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment