From 30f41654a39f8d0ce0f7b1f96b6d3080ebe8b0a2 Mon Sep 17 00:00:00 2001 From: aeschi Date: Mon, 12 Feb 2024 14:13:24 +0100 Subject: [PATCH 1/2] fix: remove confetti from print preview https://app.asana.com/0/1206159861069468/1206391318667095/f --- src/index.css | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/src/index.css b/src/index.css index d699491..0cf43c0 100644 --- a/src/index.css +++ b/src/index.css @@ -3,40 +3,46 @@ @tailwind utilities; @font-face { - font-family: "Berlin"; - font-style: normal; - font-weight: 400; - src: url("/fonts/BerlinTypeWeb-Regular.woff2"); + font-family: "Berlin"; + font-style: normal; + font-weight: 400; + src: url("/fonts/BerlinTypeWeb-Regular.woff2"); } @font-face { - font-family: "Berlin"; - font-style: normal; - font-weight: 700; - src: url("/fonts/BerlinTypeWeb-Bold.woff2"); + font-family: "Berlin"; + font-style: normal; + font-weight: 700; + src: url("/fonts/BerlinTypeWeb-Bold.woff2"); } progress[value] { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; } progress[value] { - --color: #4f90cd; - --background: #e6e6e6; - border: none; /* Firefox add a default border */ - background: var(--background); + --color: #4f90cd; + --background: #e6e6e6; + border: none; /* Firefox add a default border */ + background: var(--background); } progress[value]::-moz-progress-bar { - background: var(--color); + background: var(--color); } progress[value]::-webkit-progress-bar { - background: var(--background); + background: var(--background); } progress[value]::-webkit-progress-value { - background: var(--color); + background: var(--color); +} + +@media print { + canvas { + display: none !important; + } } From 6b691e76fb4a156613b3f89a4ec2044c76357815 Mon Sep 17 00:00:00 2001 From: aeschi Date: Mon, 12 Feb 2024 16:12:48 +0100 Subject: [PATCH 2/2] fix: take out important statement --- src/index.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.css b/src/index.css index 0cf43c0..fec055d 100644 --- a/src/index.css +++ b/src/index.css @@ -43,6 +43,6 @@ progress[value]::-webkit-progress-value { @media print { canvas { - display: none !important; + display: none; } }