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.
This commit is contained in:
parent
8b0b9d259c
commit
ab02397494
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue