mirror of
https://github.com/penpot/penpot.git
synced 2025-06-11 01:31:37 +02:00
🐛 Fix problem with placeholder in opacity field
This commit is contained in:
parent
6c003a4f24
commit
e1bbf96766
2 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,7 @@
|
||||||
"%"]
|
"%"]
|
||||||
[:> numeric-input* {:value (-> color :opacity opacity->string)
|
[:> numeric-input* {:value (-> color :opacity opacity->string)
|
||||||
:className (stl/css :opacity-input)
|
:className (stl/css :opacity-input)
|
||||||
:placeholder (tr "settings.multiple")
|
:placeholder "--"
|
||||||
:select-on-focus select-on-focus
|
:select-on-focus select-on-focus
|
||||||
:on-focus on-focus
|
:on-focus on-focus
|
||||||
:on-blur on-blur
|
:on-blur on-blur
|
||||||
|
|
|
@ -118,6 +118,7 @@
|
||||||
width: $s-60;
|
width: $s-60;
|
||||||
border-radius: 0 $br-8 $br-8 0;
|
border-radius: 0 $br-8 $br-8 0;
|
||||||
.opacity-input {
|
.opacity-input {
|
||||||
|
padding: 0;
|
||||||
border-radius: 0 $br-8 $br-8 0;
|
border-radius: 0 $br-8 $br-8 0;
|
||||||
min-width: $s-28;
|
min-width: $s-28;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue