From e3b9b5789e9b3403275d6a52b1986dcc7e1a4783 Mon Sep 17 00:00:00 2001 From: James O'Toole Date: Tue, 20 Jul 2021 13:47:17 -0700 Subject: [PATCH] Update to add ckeditor dropdown styles --- css/drupal.ckeditor.css | 10 ++++++++++ ubc_claro_style_tweaks.libraries.yml | 1 + 2 files changed, 11 insertions(+) create mode 100644 css/drupal.ckeditor.css diff --git a/css/drupal.ckeditor.css b/css/drupal.ckeditor.css new file mode 100644 index 0000000..3e66893 --- /dev/null +++ b/css/drupal.ckeditor.css @@ -0,0 +1,10 @@ +/* Adjust styles dropdown to allow longer content */ +div.cke_combopanel { + height: 300px !important; + width: 300px !important; +} + +li.cke_panel_listItem a { + padding: 3px 5px !important; + font-size: .8em !important; +} diff --git a/ubc_claro_style_tweaks.libraries.yml b/ubc_claro_style_tweaks.libraries.yml index fef2ec6..1969051 100644 --- a/ubc_claro_style_tweaks.libraries.yml +++ b/ubc_claro_style_tweaks.libraries.yml @@ -2,6 +2,7 @@ clarotweaks: css: theme: css/claro.style.tweaks.css: { } + css/drupal.ckeditor.css: { } js: js/claro.style.tweaks.js: { } dependencies: