mirror of https://github.com/go-gitea/gitea.git
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
|
@ -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 New Issue