mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
Force color-adjust for markdown checkboxes (#17146)
this forces browsers to render background correctly Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
cbd5dc4dd6
commit
6fb7fb6cfc
1 changed files with 4 additions and 0 deletions
|
@ -181,6 +181,8 @@
|
|||
opacity: 1 !important; // override fomantic on edit preview
|
||||
pointer-events: auto !important; // override fomantic on edit preview
|
||||
vertical-align: middle !important; // override fomantic on edit preview
|
||||
-webkit-print-color-adjust: exact;
|
||||
color-adjust: exact;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:not([disabled]):hover,
|
||||
|
@ -204,6 +206,8 @@
|
|||
content: "";
|
||||
mask-image: var(--checkbox-mask-checked);
|
||||
-webkit-mask-image: var(--checkbox-mask-checked);
|
||||
-webkit-print-color-adjust: exact;
|
||||
color-adjust: exact;
|
||||
}
|
||||
|
||||
input[type="checkbox"]:indeterminate::after {
|
||||
|
|
Loading…
Reference in a new issue