fix: the avatar in the title bar is clipped

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-03-31 07:47:03 +00:00 committed by GitHub
parent 13a406b6cf
commit 14977ed2b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -252,17 +252,18 @@ onUnmounted(() => {
} }
.titleAvatarContainer { .titleAvatarContainer {
overflow: hidden; $size: 32px;
padding: 8px 0; contain: strict;
overflow: clip;
width: $size;
height: $size;
padding: 8px;
flex-shrink: 0;
} }
.titleAvatar { .titleAvatar {
$size: 32px; width: 100%;
display: inline-block; height: 100%;
width: $size;
height: $size;
vertical-align: bottom;
margin: 0 8px;
pointer-events: none; pointer-events: none;
} }