From 70c73cfa065427eea4c491b9aecf2d0bb0f94ad9 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Fri, 2 Jun 2023 16:30:54 +0200 Subject: [PATCH] [FIX] CMS editor --- src/scss/types/cms.scss | 9 ++++----- src/scss/types/editor.scss | 21 +++++++++++++++++---- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/scss/types/cms.scss b/src/scss/types/cms.scss index 1eb498b..e77c62c 100755 --- a/src/scss/types/cms.scss +++ b/src/scss/types/cms.scss @@ -145,11 +145,6 @@ body.cms { } } -.btn-outline-primary, -.btn-primary { - color: #fff; -} - .visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; @@ -166,3 +161,7 @@ body.cms { position: relative; z-index: 99; } + +.sticky-buttons ~ table.table.grid-field__table { + margin-top: 1rem; +} diff --git a/src/scss/types/editor.scss b/src/scss/types/editor.scss index 25b92fa..2de16ec 100755 --- a/src/scss/types/editor.scss +++ b/src/scss/types/editor.scss @@ -58,8 +58,7 @@ img, } &.start, - &.left, - &.leftAlone { + &.left { float: left; clear: left; @@ -68,9 +67,16 @@ img, } } + + &.leftAlone { + float: none; + clear: both; + margin-left: 0; + margin-right: auto; + } + &.end, - &.right, - &.rightAlone { + &.right { float: right; clear: right; @@ -79,6 +85,13 @@ img, } } + &.rightAlone { + float: none; + clear: both; + margin-left: auto; + margin-right: 0; + } + iframe { width: 100% !important; max-height: 100% !important;