From 7712ba9ab93f25868692a9ff8a1985dc8c58c4f5 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Tue, 17 Dec 2024 12:48:02 +0100 Subject: [PATCH] Fix displaying of longer checkbox labels. --- .../components/entities-saved-states/entity-record-item.js | 1 + .../editor/src/components/entities-saved-states/style.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages/editor/src/components/entities-saved-states/entity-record-item.js b/packages/editor/src/components/entities-saved-states/entity-record-item.js index e8219c4cca7ae1..ba2e93088be93e 100644 --- a/packages/editor/src/components/entities-saved-states/entity-record-item.js +++ b/packages/editor/src/components/entities-saved-states/entity-record-item.js @@ -64,6 +64,7 @@ export default function EntityRecordItem( { record, checked, onChange } ) { } checked={ checked } onChange={ onChange } + className="entities-saved-states__change-control" /> { hasPostMetaChanges && ( diff --git a/packages/editor/src/components/entities-saved-states/style.scss b/packages/editor/src/components/entities-saved-states/style.scss index 4283a7ad1659d0..e60401fb79d370 100644 --- a/packages/editor/src/components/entities-saved-states/style.scss +++ b/packages/editor/src/components/entities-saved-states/style.scss @@ -52,6 +52,10 @@ } } +.entities-saved-states__change-control { + flex: 1; +} + .entities-saved-states__changes { font-size: $default-font-size; margin: $grid-unit-05 $grid-unit-20 0 $grid-unit-30;