From bcc50844096b47c0656ed3338de222055a749fb1 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 13 Feb 2024 02:09:43 +0200 Subject: add roundness, fix inputs --- src/components/link-preview/link-preview.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/components/link-preview') diff --git a/src/components/link-preview/link-preview.vue b/src/components/link-preview/link-preview.vue index 09f341ac..88b7fb92 100644 --- a/src/components/link-preview/link-preview.vue +++ b/src/components/link-preview/link-preview.vue @@ -51,8 +51,7 @@ width: 100%; height: 100%; object-fit: cover; - border-radius: $fallback--attachmentRadius; - border-radius: var(--attachmentRadius, $fallback--attachmentRadius); + border-radius: var(--roundness); } } @@ -86,8 +85,7 @@ color: var(--text, $fallback--text); border-style: solid; border-width: 1px; - border-radius: $fallback--attachmentRadius; - border-radius: var(--attachmentRadius, $fallback--attachmentRadius); + border-radius: var(--roundness); border-color: $fallback--border; border-color: var(--border, $fallback--border); } -- cgit v1.2.3-70-g09d2