From a1c45fb18579f392070a65cf2c48e8b6bf5bf384 Mon Sep 17 00:00:00 2001 From: polo Date: Fri, 2 Jun 2023 14:20:14 +0200 Subject: MAJ ckeditor5 38.0.1 --- lib/ckeditor5/sample/styles.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'lib/ckeditor5/sample/styles.css') diff --git a/lib/ckeditor5/sample/styles.css b/lib/ckeditor5/sample/styles.css index c7cbf76..1ec0e02 100644 --- a/lib/ckeditor5/sample/styles.css +++ b/lib/ckeditor5/sample/styles.css @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved. + * @license Copyright (c) 2014-2023, CKSource Holding sp. z o.o. All rights reserved. * This file is licensed under the terms of the MIT License (see LICENSE.md). */ @@ -32,10 +32,6 @@ main .ck-editor[role='application'] .ck.ck-content, padding: 1.5em 2em; } -main .ck-editor[role='application'] { - overflow: auto; -} - .ck.ck-editor__editable { background: #fff; border: 1px solid hsl(0, 0%, 70%); @@ -347,6 +343,20 @@ body[data-revision-history='true'] .ck.ck-pagination-view-line::after { right: unset !important; } +/* --------- DOCUMENT OUTLINE FEATURE ------------------------------------------------------------------------------ */ + +.document-outline-container { + max-height: 80vh; + overflow-y: auto; + margin-bottom: 1em; +} + +.document-outline-container .ck.ck-document-outline { + min-height: 100%; + border: 1px solid var(--ck-color-base-border); + background-color: hsl(0, 0%, 96%); +} + /* --------- SAMPLE GENERIC STYLES (not related to CKEditor) ------------------------------------------------------- */ body, html { padding: 0; -- cgit v1.2.3