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

View File

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