From 0f45dbb896ced256279b39367b52ad8507382fe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 10 Oct 2023 22:18:22 +0200 Subject: [PATCH] Simplify border-related rules for like/unlike icons We were keeping the same style and width when they were pressed, so we can simply overwrite the color. --- app/assets/stylesheets/in_favor_against.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/in_favor_against.scss b/app/assets/stylesheets/in_favor_against.scss index 6e8d48481..ecc5944ff 100644 --- a/app/assets/stylesheets/in_favor_against.scss +++ b/app/assets/stylesheets/in_favor_against.scss @@ -41,7 +41,7 @@ &:active, &[aria-pressed=true] { background: $like; - border: 2px solid $like; + border-color: $like; } } } @@ -54,7 +54,7 @@ &:active, &[aria-pressed=true] { background: $unlike; - border: 2px solid $unlike; + border-color: $unlike; } } }