From 6e98cca1a9f434d3045bd84dd8545d632d3a5f04 Mon Sep 17 00:00:00 2001 From: Ron Lucke Date: Mon, 12 May 2025 09:59:05 +0200 Subject: fix #5586 --- .../assets/stylesheets/scss/studip-cke-ui.scss | 45 ++++++++++------------ 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/resources/assets/stylesheets/scss/studip-cke-ui.scss b/resources/assets/stylesheets/scss/studip-cke-ui.scss index 10568b7..660a2e9 100644 --- a/resources/assets/stylesheets/scss/studip-cke-ui.scss +++ b/resources/assets/stylesheets/scss/studip-cke-ui.scss @@ -257,32 +257,29 @@ display: none; } -/* blockquote */ -.ck-content blockquote { - border-left: 3px solid var(--brand-color-lighter); - padding: 5px 5px 5px 8px; - margin: 8px 8px 8px 0; - background-color: rgba(0, 0, 0, 0.05); - font-style: unset; -} - -/* hr */ -.ck-content hr { - margin: 7px 0; - height: 0; - background: initial; - border: 1px solid var(--dark-gray-color-60); -} +#content-wrapper { + .ck-content { -/* table */ -.ck-content .table { - margin: 0.9em auto; -} -.ck-content .table { - margin: 0.9em auto; + blockquote { + margin: 8px 8px 8px 0; + background-color: rgba(0, 0, 0, 0.05); + font-style: unset; + } - &:not([style]) { - margin-inline-start: 0; + hr { + margin: 7px 0; + height: 0; + background: initial; + border: 1px solid var(--dark-gray-color-60); + } + + .table { + margin: 0.9em auto; + + &:not([style]) { + margin-inline-start: 0; + } + } } } -- cgit v1.0