mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 00:06:11 +02:00
✨ Add placeholder to set edition (#5848)
This commit is contained in:
parent
37855bfe7f
commit
8a332c1402
5 changed files with 21 additions and 11 deletions
|
@ -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*
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue