Fix space between name and description on content-types (#20028)
set line-height to avoid having too much space
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user