Skip to content

Commit

Permalink
fix(image): resolve vertical align (Tencent#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJim authored and oljc committed May 9, 2023
1 parent 8ab8c48 commit d6b0019
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions style/mobile/components/image/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
color: @image-color;
font-size: 0;

&__img {
vertical-align: middle;
}

&__mask {
display: flex;
align-items: center;
Expand Down

0 comments on commit d6b0019

Please sign in to comment.