Skip to content

Commit

Permalink
fix(ImageViewer): keep the icon always occupied (#1832)
Browse files Browse the repository at this point in the history
Co-authored-by: anlyyao <anlyyao@tencent.com>
  • Loading branch information
anlyyao and anlyyao authored Jul 11, 2024
1 parent 4b509a7 commit 19099ac
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions style/mobile/components/image-viewer/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,21 +53,15 @@

&-close {
margin-left: @image-viewer-close-margin-left; // 关闭操作按钮左部间距

&:empty {
display: none;
}
}

&-delete {
margin-right: @image-viewer-delete-margin-right; // 删除操作按钮右部间距
&:empty {
display: none;
}
}

&-close,
&-delete {
width: @image-viewer-icon-font-size;
font-size: @image-viewer-icon-font-size;
}

Expand Down

0 comments on commit 19099ac

Please sign in to comment.