From d6e9e8b20b591ef4556f402dbc29dbaf7881ccb3 Mon Sep 17 00:00:00 2001 From: Aman Khan <79637672+amankhangit@users.noreply.github.com> Date: Sat, 21 Sep 2024 15:23:01 +0530 Subject: [PATCH] [Bug fix] Favorite Icon highlighted with yellow color when selected (#1934) * length of card which was getting displayed on hovering is reduced * issue #1818 solved * issue #1818 fixed * theme.css changed to previous code --- src/main/resources/static/css/home.css | 8 ++++++++ src/main/resources/static/css/theme/theme.css | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/resources/static/css/home.css b/src/main/resources/static/css/home.css index 782e336d..12b69d94 100644 --- a/src/main/resources/static/css/home.css +++ b/src/main/resources/static/css/home.css @@ -157,6 +157,14 @@ filter: brightness(0) invert(var(--md-theme-filter-color)); } +.favorite-icon:hover .material-symbols-rounded { + transform: scale(1.2); +} + +.favorite-icon .material-symbols-rounded.fill{ + color: #f5c000; +} + .jumbotron { padding: 3rem 3rem; /* Reduce vertical padding */ diff --git a/src/main/resources/static/css/theme/theme.css b/src/main/resources/static/css/theme/theme.css index 4f7be33e..2e736ede 100644 --- a/src/main/resources/static/css/theme/theme.css +++ b/src/main/resources/static/css/theme/theme.css @@ -31,4 +31,4 @@ .no-fill { /* font-variation-settings: var(--md-sys-icon-fill-0); */ -} \ No newline at end of file +}