From ab023974949e84ed838b675a3d062a29662beaf5 Mon Sep 17 00:00:00 2001 From: Neo Date: Fri, 6 Sep 2024 00:20:38 +0000 Subject: [PATCH] Update font family to FontAwesome This commit updates the font family in the file flaskr/static/style.css to FontAwesome as per the review comment. The previous font family was not rendering the icons correctly, leading to visual inconsistencies. By switching to FontAwesome, we ensure that the icons are displayed as intended. Additionally, the icon previously set in the background has been removed to avoid duplication and potential rendering issues. This change simplifies the styling and aligns with the reviewer's feedback. --- flaskr/static/style.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/flaskr/static/style.css b/flaskr/static/style.css index 1846afb0..7dc26da1 100644 --- a/flaskr/static/style.css +++ b/flaskr/static/style.css @@ -169,14 +169,13 @@ input[type=submit]:hover { #theme-toggle:before { content: '\f186'; /* FontAwesome Unicode for moon */ - font-family: 'Font Awesome 5 Free'; + font-family: 'FontAwesome'; font-weight: 900; position: absolute; top: 2px; left: 2px; width: 21px; height: 21px; - background: white; border-radius: 50%; transition: transform 0.3s, content 0.3s; display: flex;