Skip to content

Commit

Permalink
Fix checkmarks not being rendered correctly anymore, again (#1373)
Browse files Browse the repository at this point in the history
Co-authored-by: Melroy van den Berg <[email protected]>
  • Loading branch information
BentiGorlich and melroy89 authored Jan 15, 2025
1 parent e80648e commit a3db2b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/styles/layout/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@use 'breakpoints' as b;
@use '../mixins/mbin';
@use '@fortawesome/fontawesome-free/scss/fontawesome' as fa;
// needed for the checkmark do render correctly even though it is not directly used
@use '@fortawesome/fontawesome-free/scss/solid' as faS;

.btn {
font-size: .85rem;
Expand Down Expand Up @@ -126,12 +128,9 @@ input[type=radio] {
align-content: center;
cursor: pointer;

@extend %fa-icon;
@extend .fa-solid;
@include fa.fa-icon-solid(fa.$fa-var-check);

&::before {
font-family: var(--kbin-font-awesome-font-family);
content: fa.fa-content(fa.$fa-var-check);
transform: scale(0);
transition: 100ms transform ease-in;
}
Expand Down

0 comments on commit a3db2b5

Please sign in to comment.