From 56aaa387a5cae066babcb1e2db66dfd7c4855a72 Mon Sep 17 00:00:00 2001 From: ebpe Date: Thu, 25 Jun 2026 09:49:37 +0200 Subject: [PATCH] Fix edit modules UI --- assets/dist/styles/admin-cms.css | 8 ++++++-- assets/styles/admin-cms.scss | 8 +++++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/assets/dist/styles/admin-cms.css b/assets/dist/styles/admin-cms.css index ed865706..08f26a85 100644 --- a/assets/dist/styles/admin-cms.css +++ b/assets/dist/styles/admin-cms.css @@ -203,10 +203,13 @@ body { } [data-collection=collection] { - padding: 45px 0 0 0; min-height: 50px; } +.cms-module-edit [data-collection=collection] { + padding: 45px 0 0 0; +} + .cms-indexing-card { border-top: 1px solid rgba(33, 37, 41, 0.12); border-bottom: 1px solid rgba(33, 37, 41, 0.08); @@ -457,6 +460,7 @@ body { } .cms-module .content-escape { word-break: break-word; + text-wrap: auto; } .cms-module .textarea-lg { height: 200px; @@ -561,4 +565,4 @@ body { .edit-content-linked-focus { box-shadow: 0 0 15px rgba(var(--bs-primary-rgb), 0.5); -} \ No newline at end of file +} diff --git a/assets/styles/admin-cms.scss b/assets/styles/admin-cms.scss index 038694c9..62c9dd0f 100644 --- a/assets/styles/admin-cms.scss +++ b/assets/styles/admin-cms.scss @@ -218,10 +218,15 @@ body { } [data-collection=collection] { - padding: 45px 0 0 0; min-height: 50px; } +.cms-module-edit { + [data-collection=collection] { + padding: 45px 0 0 0; + } +} + .cms-indexing-card { border-top: 1px solid rgba($dark, .12); border-bottom: 1px solid rgba($dark, .08); @@ -485,6 +490,7 @@ body { .content-escape { word-break: break-word; + text-wrap: auto; } .textarea-lg {