feat: allow wide content

adds `overflow-x: auto` to both the label and the description in case very wide content has been added such as an image
This commit is contained in:
Jacob Overgaard
2024-05-22 12:08:26 +02:00
parent 8c015c219f
commit 7ef2e39050

View File

@@ -115,6 +115,7 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
uui-label { uui-label {
position: relative; position: relative;
overflow-x: auto;
} }
:host([invalid]) uui-label { :host([invalid]) uui-label {
color: var(--uui-color-danger); color: var(--uui-color-danger);
@@ -125,6 +126,7 @@ export class UmbPropertyLayoutElement extends UmbLitElement {
#description { #description {
color: var(--uui-color-text-alt); color: var(--uui-color-text-alt);
overflow-x: auto;
} }
#editorColumn { #editorColumn {