Skip to content

Commit

Permalink
Fix an issue where checkboxes display incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
ddashwood committed Jul 28, 2023
1 parent 537a49d commit c8e7d88
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion MealPlan/ClientApp/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,11 @@ code {
input:not([type=checkbox]):not([type=radio]).ng-invalid.ng-dirty:not(form),
input:not([type=checkbox]):not([type=radio]).ng-invalid.ng-touched:not(form) {
border-left: 5px solid red;
}
}


/* MDB.css adds an image to checkboxes, which is not needed */

.form-check-input:checked[type="checkbox"] {
background-image: none;
}

0 comments on commit c8e7d88

Please sign in to comment.