From a585a3cc8d79a110b74f264b091a5a4007e70767 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Fri, 7 Feb 2020 15:44:59 +0100 Subject: [PATCH] Unified the dimensions operator styles across table and table cell forms. --- theme/ckeditor5-table/tablecellproperties.css | 8 -------- theme/ckeditor5-table/tableform.css | 14 ++++++++++++++ theme/ckeditor5-table/tableproperties.css | 8 -------- 3 files changed, 14 insertions(+), 16 deletions(-) create mode 100644 theme/ckeditor5-table/tableform.css diff --git a/theme/ckeditor5-table/tablecellproperties.css b/theme/ckeditor5-table/tablecellproperties.css index 8067836..08a8f9e 100644 --- a/theme/ckeditor5-table/tablecellproperties.css +++ b/theme/ckeditor5-table/tablecellproperties.css @@ -31,14 +31,6 @@ margin-right: var(--ck-spacing-small); } - & .ck-table-cell-properties-form__dimension-operator { - margin: 0; - align-self: start; - display: inline-block; - height: var(--ck-ui-component-min-height); - line-height: var(--ck-ui-component-min-height); - } - & .ck-table-cell-properties-form__height { margin-left: var(--ck-spacing-small); } diff --git a/theme/ckeditor5-table/tableform.css b/theme/ckeditor5-table/tableform.css new file mode 100644 index 0000000..853d812 --- /dev/null +++ b/theme/ckeditor5-table/tableform.css @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +.ck.ck-table-form { + & .ck-table-form__dimension-operator { + margin: 0; + align-self: start; + display: inline-block; + height: var(--ck-ui-component-min-height); + line-height: var(--ck-ui-component-min-height); + } +} diff --git a/theme/ckeditor5-table/tableproperties.css b/theme/ckeditor5-table/tableproperties.css index 130c335..320e68b 100644 --- a/theme/ckeditor5-table/tableproperties.css +++ b/theme/ckeditor5-table/tableproperties.css @@ -21,14 +21,6 @@ margin-right: var(--ck-spacing-small); } - & .ck-table-properties-form__dimension-operator { - margin: 0; - align-self: start; - display: inline-block; - height: var(--ck-ui-component-min-height); - line-height: var(--ck-ui-component-min-height); - } - & .ck-table-properties-form__height { margin-left: var(--ck-spacing-small); }