From 88b7f5c0e5eaad513c507c24aec19f75d0c9667f Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Mon, 25 Nov 2024 19:41:54 +0100 Subject: [PATCH] Remove extra margin for custom scrollbar on Safari --- src/scripts/components/h5p-crossword-input.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/components/h5p-crossword-input.scss b/src/scripts/components/h5p-crossword-input.scss index 29bad33..aa84c30 100644 --- a/src/scripts/components/h5p-crossword-input.scss +++ b/src/scripts/components/h5p-crossword-input.scss @@ -99,7 +99,9 @@ } &.has-scrollbar { - padding-right: 1rem; + &:not(.safari) { + padding-right: 1rem; + } &.safari { overflow-y: scroll;