]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix form switch checkmark visual bug
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 14 Sep 2023 20:58:16 +0000 (13:58 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 14 Sep 2023 21:51:02 +0000 (14:51 -0700)
src-ui/src/theme.scss

index eadc125ab17377646c629138d4eea014594dae4c..02817404431fec3edc05da3fc72ba71f36c6c54a 100644 (file)
@@ -37,12 +37,14 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,<svg xmlns='htt
 .primary-light {
   --pngx-primary-text-contrast: #{$text-color-light-bg} !important;
 
-  .form-check-input:checked[type=checkbox] {
-    background-image: escape-svg($form-check-input-checked-bg-image-dark);
-  }
+  .form-check:not(.form-switch) {
+    .form-check-input:checked[type=checkbox] {
+      background-image: escape-svg($form-check-input-checked-bg-image-dark);
+    }
 
-  .form-check-input:checked[type=radio] {
-    background-image: escape-svg($form-check-radio-checked-bg-image-dark);
+    .form-check-input:checked[type=radio] {
+      background-image: escape-svg($form-check-radio-checked-bg-image-dark);
+    }
   }
 
   .toast .btn-close {