默认样式表情可以不是正方形

This commit is contained in:
John Smith 2022-01-04 20:10:15 +08:00
parent e318bdfcac
commit 03a2801099
3 changed files with 9 additions and 3 deletions

View File

@ -314,7 +314,9 @@ yt-live-chat-membership-item-renderer[dashboard-money-feed] #content.yt-live-cha
}
#content.yt-live-chat-membership-item-renderer img.yt-live-chat-membership-item-renderer {
width: var(--yt-live-chat-emoji-size);
/* B站表情有不是正方形的 */
/* width: var(--yt-live-chat-emoji-size); */
width: auto;
height: var(--yt-live-chat-emoji-size);
margin: -1px 2px 1px 2px;

View File

@ -312,7 +312,9 @@ yt-live-chat-paid-message-renderer[allow-animations] #content.yt-live-chat-paid-
}
#content.yt-live-chat-paid-message-renderer img.yt-live-chat-paid-message-renderer {
width: var(--yt-live-chat-emoji-size);
/* B站表情有不是正方形的 */
/* width: var(--yt-live-chat-emoji-size); */
width: auto;
height: var(--yt-live-chat-emoji-size);
margin: -1px 2px 1px 2px;
vertical-align: middle;

View File

@ -159,7 +159,9 @@ yt-live-chat-author-chip.yt-live-chat-text-message-renderer {
}
#message.yt-live-chat-text-message-renderer .emoji.yt-live-chat-text-message-renderer {
width: var(--yt-live-chat-emoji-size);
/* B站表情有不是正方形的 */
/* width: var(--yt-live-chat-emoji-size); */
width: auto;
height: var(--yt-live-chat-emoji-size);
margin: -1px 2px 1px 2px;
vertical-align: middle;