From 9fe8b2162b4f895aa1c5f6b6cc2d4e305f2ec7df Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Wed, 8 Oct 2025 17:22:09 +0200 Subject: [PATCH] Adjust styling for inherited content type property (#20261) * Adjust styling for inherited content type property * Slight style adjustments inherited property --------- Co-authored-by: leekelleher --- ...content-type-design-editor-property.element.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts b/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts index 408930a756..043d7cfd22 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/content/content-type/workspace/views/design/content-type-design-editor-property.element.ts @@ -198,8 +198,8 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { } else { return html`
@@ -451,6 +451,12 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { border-radius: var(--uui-border-radius); } + :host([_inherited]) { + #header { + padding: 0 var(--uui-size-3, 9px); + } + } + p { margin-bottom: 0; } @@ -470,6 +476,11 @@ export class UmbContentTypeDesignEditorPropertyElement extends UmbLitElement { --uui-button-background-color: var(--uui-color-background); --uui-button-background-color-hover: var(--uui-color-background); } + #editor:not(uui-button) { + background-color: var(--uui-color-background); + border-radius: var(--uui-button-border-radius, var(--uui-border-radius, 3px)); + min-height: 143px; + } #editor uui-action-bar { --uui-button-background-color: var(--uui-color-surface); --uui-button-background-color-hover: var(--uui-color-surface);