!166 fix: 调整组件列表下图片的展现方式,保持图片不被变形

Merge pull request !166 from dodu/dev-commet
This commit is contained in:
奔跑的面条 2023-05-28 09:27:17 +00:00 committed by Gitee
commit d9834482f3

View File

@ -222,6 +222,7 @@ $halfCenterHeight: 50px;
height: 100px; height: 100px;
max-width: 140px; max-width: 140px;
border-radius: 6px; border-radius: 6px;
object-fit: contain;
@extend .go-transition; @extend .go-transition;
} }
} }
@ -289,6 +290,7 @@ $halfCenterHeight: 50px;
height: $halfCenterHeight; height: $halfCenterHeight;
width: auto; width: auto;
transition: all 0.2s; transition: all 0.2s;
object-fit: contain;
} }
} }
.list-bottom { .list-bottom {