Skip to content

Commit

Permalink
fix: Fix the position of checkbox ticks in topics selector
Browse files Browse the repository at this point in the history
  • Loading branch information
marienfressinaud committed Oct 17, 2024
1 parent edfcddd commit eb698ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/assets/stylesheets/components/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ input[type="radio"] + label {

input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
content: ' ';
content: '';

position: relative;
top: 0.5rem;
Expand Down Expand Up @@ -129,11 +129,11 @@ input[type="radio"]:checked + label::after {
content: '';

position: absolute;
top: 1.2rem;
left: 1.5rem;

width: 1.5rem;
height: 0.75rem;
margin-top: 1.2rem;
margin-left: 0.5rem;

border-bottom: var(--width-border) solid var(--color-text);
border-left: var(--width-border) solid var(--color-text);
Expand Down
4 changes: 0 additions & 4 deletions src/assets/stylesheets/custom/topics-selector.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,3 @@ input[type="checkbox"]:checked + .topics-selector__label::before {
border-color: var(--color-turquoise-7);
border-color: transparent;
}

input[type="checkbox"]:checked + .topics-selector__label::after {
left: 2.5rem;
}

0 comments on commit eb698ac

Please sign in to comment.