From 053a31f54e665726268bb8cce68626b1f7677a83 Mon Sep 17 00:00:00 2001 From: Sebastian Sauer Date: Fri, 24 Sep 2021 19:35:42 +0200 Subject: [PATCH] Force color-adjust for markdown checkboxes this forces browsers to render background correctly --- web_src/less/markup/content.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less index df87c21d8c546..8d9858f0df309 100644 --- a/web_src/less/markup/content.less +++ b/web_src/less/markup/content.less @@ -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 {