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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user