Fix space between name and description on content-types (#20028)

set line-height to avoid having too much space
This commit is contained in:
Niels Lyngsø
2025-09-04 20:05:48 +02:00
committed by GitHub
parent 1b5734d1c8
commit da05e280af
2 changed files with 4 additions and 1 deletions

View File

@@ -126,6 +126,7 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
display: flex;
flex: 1 1 auto;
flex-direction: column;
gap: 1px;
}
#name {
@@ -135,7 +136,6 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
#description {
width: 100%;
margin-top: 1px;
--uui-input-height: var(--uui-size-8);
--uui-input-border-color: transparent;
}

View File

@@ -131,6 +131,9 @@ export class UmbInputWithAliasElement extends UmbFormControlMixin<string, typeof
}
static override readonly styles = css`
:host {
display: contents;
}
#name {
width: 100%;
flex: 1 1 auto;