From eac5acdea8014d9c610ce2cd96109eb6a5c7f82d Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sun, 8 Jan 2023 01:23:02 -0500 Subject: [PATCH] Link preview: Replace shadow border with an actual border Wonder why they did that in the first place, doesn't work well in some zoom levels. --- packages/client/src/components/MkUrlPreview.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/client/src/components/MkUrlPreview.vue b/packages/client/src/components/MkUrlPreview.vue index 32f6e4494..ef65cb796 100644 --- a/packages/client/src/components/MkUrlPreview.vue +++ b/packages/client/src/components/MkUrlPreview.vue @@ -210,14 +210,12 @@ onUnmounted(() => { position: relative; display: block; font-size: 14px; - box-shadow: 0 0 0 1px var(--divider); + border: 1px solid var(--divider); border-radius: 8px; overflow: hidden; &:hover { text-decoration: none; - border-color: rgba(0, 0, 0, 0.2); - > article > header > h1 { text-decoration: underline; }