From c4ab2dc5469efec6dce07c43638c97cef1e3bec6 Mon Sep 17 00:00:00 2001 From: Botzy Date: Tue, 16 Dec 2025 11:00:04 +0200 Subject: [PATCH] fix(Video): always show border of selected video --- src/components/Video/styles.less | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/Video/styles.less b/src/components/Video/styles.less index f651ff70d..69630540f 100644 --- a/src/components/Video/styles.less +++ b/src/components/Video/styles.less @@ -19,6 +19,7 @@ padding: 0.5rem; margin-bottom: 0.5rem; border-radius: var(--border-radius); + border: 0.15rem solid transparent; @supports (scroll-margin: 1.25rem) { scroll-margin: 1.25rem; @@ -177,16 +178,7 @@ } &.selected { - animation: border 3s ease-in-out forwards; - } - - @keyframes border { - 0% { - border: 0.15rem solid var(--primary-accent-color); - } - 100% { - border: 0.15rem solid transparent; - } + border-color: var(--primary-accent-color); }