Skip to content

Commit da05e28

Browse files
authored
Fix space between name and description on content-types (#20028)
set line-height to avoid having too much space
1 parent 1b5734d commit da05e28

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Umbraco.Web.UI.Client/src/packages/content/content-type/global-components/content-type-workspace-editor-header.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
126126
display: flex;
127127
flex: 1 1 auto;
128128
flex-direction: column;
129+
gap: 1px;
129130
}
130131
131132
#name {
@@ -135,7 +136,6 @@ export class UmbContentTypeWorkspaceEditorHeaderElement extends UmbLitElement {
135136
136137
#description {
137138
width: 100%;
138-
margin-top: 1px;
139139
--uui-input-height: var(--uui-size-8);
140140
--uui-input-border-color: transparent;
141141
}

src/Umbraco.Web.UI.Client/src/packages/core/components/input-with-alias/input-with-alias.element.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ export class UmbInputWithAliasElement extends UmbFormControlMixin<string, typeof
131131
}
132132

133133
static override readonly styles = css`
134+
:host {
135+
display: contents;
136+
}
134137
#name {
135138
width: 100%;
136139
flex: 1 1 auto;

0 commit comments

Comments
 (0)