mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 极端比例图片在预设滤镜中显示异常
This commit is contained in:
parent
b34e80879d
commit
9719906147
@ -177,12 +177,16 @@ const applyPresetFilters = (filters: ImageElementFilters) => {
|
||||
@include flex-grid-layout();
|
||||
}
|
||||
.preset-item {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
@include flex-grid-layout-children(3, 31%);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
max-height: 120px;
|
||||
}
|
||||
.preset-label {
|
||||
font-size: 12px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user