From 1f09d22580840f8659348247e3c4f7e585b0689c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 15 Aug 2019 10:26:13 +0200 Subject: [PATCH] Add z-index --- app/assets/stylesheets/content/editor/_ckeditor.sass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/assets/stylesheets/content/editor/_ckeditor.sass b/app/assets/stylesheets/content/editor/_ckeditor.sass index 3cd9944de9..213757c045 100644 --- a/app/assets/stylesheets/content/editor/_ckeditor.sass +++ b/app/assets/stylesheets/content/editor/_ckeditor.sass @@ -84,6 +84,7 @@ .document-editor__toolbar position: sticky top: 0 + z-index: 1 .ck.ck-toolbar.ck-rounded-corners border-bottom-left-radius: 0 @@ -97,14 +98,9 @@ border-top-right-radius: 0 .ck-editor__editable - - /* Keep the "page" off the boundaries of the container. */ padding: 1cm 2cm 2cm - border: 1px hsl( 0,0%,82.7% ) solid border-radius: var(--ck-border-radius) background: white - - /* The "page" should cast a slight shadow (3D illusion). */ box-shadow: 0 0 5px hsla( 0,0%,0%,.1 )