Skip to content

Commit

Permalink
fix: 修复 avatar 和 image 被挤压的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyh2001 committed Jun 11, 2024
1 parent e15bf6a commit c3a063d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/fighting-theme/src/avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
align-items: center;
display: inline-flex;
justify-content: center;
flex-shrink: 0;
width: var(--avatar-size);
height: var(--avatar-size);
background-color: var(--avatar-background);
Expand Down
1 change: 1 addition & 0 deletions packages/fighting-theme/src/image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
position: relative;
vertical-align: top;
display: inline-block;
flex-shrink: 0;
width: var(--image-width);
height: var(--image-height);
border-radius: var(--image-round);
Expand Down

0 comments on commit c3a063d

Please sign in to comment.