Skip to content

Commit

Permalink
[CIVIC-1508] Fixed CKEditor 5 Paragraphs overlaps in Claro. (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-salsadigital authored Nov 1, 2023
1 parent f60c7e4 commit 6808d45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ use Drupal\Core\Form\FormStateInterface;
*/
function civictheme_admin_form_node_form_alter(&$form, FormStateInterface $form_state) {
// @see https://www.drupal.org/project/drupal/issues/3184667
// @see https://www.drupal.org/project/drupal/issues/3332416
$form['#attached']['library'][] = 'civictheme_admin/claro-node-form-overrides';
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
Overrides Claro layout for node form.
@see https://www.drupal.org/project/drupal/issues/3184667
@see https://www.drupal.org/project/drupal/issues/3332416
*/

@media screen and (min-width: 61rem) {
Expand All @@ -17,3 +18,7 @@
.js .layout-region--node-main .form-autocomplete {
width: 100% !important;
}

.ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items {
flex-wrap: wrap !important;
}

0 comments on commit 6808d45

Please sign in to comment.