Add placeholder to set edition (#5848)

This commit is contained in:
Xaviju 2025-02-14 11:46:04 +01:00 committed by GitHub
parent 37855bfe7f
commit 8a332c1402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 21 additions and 11 deletions

View file

@ -88,6 +88,7 @@
:on-blur on-submit-valid
:on-key-down on-key-down
:auto-focus true
:placeholder (tr "workspace.token.set-edit-placeholder")
:default-value default-value}]))
(mf/defc checkbox*

View file

@ -143,20 +143,20 @@
}
}
.editing-node {
@include textEllipsis;
color: var(--layer-row-foreground-color-focus);
}
.editing-node {
@include textEllipsis;
@include bodySmallTypography;
@include removeInputStyle;
border: $s-1 solid var(--input-border-color-focus);
border-radius: $br-8;
color: var(--layer-row-foreground-color-focus);
flex-grow: 1;
height: $s-28;
padding-left: $s-6;
margin: 0;
border-radius: $br-8;
border: $s-1 solid var(--input-border-color-focus);
color: var(--layer-row-foreground-color);
padding-left: $s-6;
&::placeholder {
color: var(--layer-row-foreground-color-placeholder);
}
}