mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
!166 fix: 调整组件列表下图片的展现方式,保持图片不被变形
Merge pull request !166 from dodu/dev-commet
This commit is contained in:
commit
d9834482f3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user