From 5a4290c5101453f6e796f2135d015a04a0d4e8b3 Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Tue, 7 May 2024 14:12:12 +0200 Subject: [PATCH] Comment out box sizing for pseudo elements --- src/styles/h5p-boilerplate-snordian.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/styles/h5p-boilerplate-snordian.scss b/src/styles/h5p-boilerplate-snordian.scss index 46a35b8..a2c062d 100644 --- a/src/styles/h5p-boilerplate-snordian.scss +++ b/src/styles/h5p-boilerplate-snordian.scss @@ -4,10 +4,15 @@ html { box-sizing: border-box; } -*, *:before, *:after { +* { box-sizing: inherit; } +// These are nice to have, but can cause trouble in the H5P editor +// *:before, *:after { +// box-sizing: inherit; +// } + .h5p-boilerplate-snordian { background-color: $color-background; color: $color-text;