From 5135720adc55cb722a89550d62266c25b30f7fb6 Mon Sep 17 00:00:00 2001 From: eris Date: Sun, 31 Jul 2022 09:36:39 +0000 Subject: [PATCH] Adjust user mention avatars and enable by default --- src/components/mention_link/mention_link.scss | 16 ++++++++++++++-- src/components/still-image/still-image.vue | 2 +- src/modules/config.js | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index cbc68d17..d72315fd 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -15,11 +15,15 @@ .mention-avatar { border-radius: var(--avatarAltRadius, $fallback--avatarAltRadius); - width: 1.5em; - height: 1.5em; + width: 2em; + height: 2em; vertical-align: middle; user-select: none; margin-right: 0.2em; + + .still-image.avatar { + border-radius: 14px; + } } .full { @@ -113,3 +117,11 @@ color: var(--faint, $fallback--faint); } } + +.reply-glued-label { + + .mention-avatar { + width: 1.4em; + height: 1.4em; + } +} diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index ab3080c8..40b204be 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -50,7 +50,7 @@ img { width: 100%; height: 100%; - object-fit: contain; + object-fit: cover; } &.animated { diff --git a/src/modules/config.js b/src/modules/config.js index 39bb0355..9ffe39bd 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -84,7 +84,7 @@ export const defaultState = { useAtIcon: undefined, // instance default mentionLinkDisplay: undefined, // instance default mentionLinkShowTooltip: undefined, // instance default - mentionLinkShowAvatar: undefined, // instance default + mentionLinkShowAvatar: true, // instance default mentionLinkFadeDomain: undefined, // instance default mentionLinkShowYous: undefined, // instance default mentionLinkBoldenYou: undefined, // instance default