From 350ebbadba3b1ce2f1f5b082fc62160ce8a72cad Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Sep 2023 11:42:26 +0900 Subject: [PATCH] fix(frontend): prevent layout-shift of reactions viewer Fix #11842 --- packages/frontend/src/components/MkReactionsViewer.reaction.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index 7da579012..4349b7999 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -158,7 +158,7 @@ useTooltip(buttonEl, async (showing) => { &.reacted, &.reacted:hover { background: var(--accentedBg); color: var(--accent); - border: 1px solid var(--accent); + box-shadow: 0 0 0px 1px var(--accent) inset; > .count { color: var(--accent);