From 7336db3b627060d588cf124aa92590133a075367 Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Thu, 22 Feb 2024 15:18:12 -0800 Subject: [PATCH] feat: update stars style --- src/css/blocks/stars.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/css/blocks/stars.css b/src/css/blocks/stars.css index a750f44..ed0627b 100644 --- a/src/css/blocks/stars.css +++ b/src/css/blocks/stars.css @@ -1,7 +1,12 @@ -.stars li:not(:first-child) { - margin-inline-start: -4px; +.stars li { + line-height: 16px; /* Size of icons */ + transition: margin ease-in-out var(--transition-duration); } -.stars li { - line-height: 16px; +.stars li:not(:first-child) { + margin-inline-start: -6px; +} + +.stars:hover li { + margin-inline-start: 0; }