diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/property/property-layout/property-layout.element.ts b/src/Umbraco.Web.UI.Client/src/packages/core/property/property-layout/property-layout.element.ts
index 53a868f93f..96fcd65d73 100644
--- a/src/Umbraco.Web.UI.Client/src/packages/core/property/property-layout/property-layout.element.ts
+++ b/src/Umbraco.Web.UI.Client/src/packages/core/property/property-layout/property-layout.element.ts
@@ -62,12 +62,14 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
// TODO: Only show alias on label if user has access to DocumentType within settings:
return html`
-
+
${this.localize.string(this.label)}
${when(this.invalid, () => html`!`)}
- ${unsafeHTML(localizeAndTransform(this, this.description))}
+
+ ${unsafeHTML(localizeAndTransform(this, this.description))}
+
@@ -113,11 +115,11 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
}
/*}*/
- uui-label {
+ #label {
position: relative;
- overflow-x: auto;
+ word-break: break-word;
}
- :host([invalid]) uui-label {
+ :host([invalid]) #label {
color: var(--uui-color-danger);
}
uui-badge {
@@ -126,7 +128,6 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
#description {
color: var(--uui-color-text-alt);
- overflow-x: auto;
}
#editorColumn {