mirror of
https://github.com/penpot/penpot.git
synced 2026-08-28 23:59:00 +00:00
🐛 Fix disabled numeric input with token applied is broken
This commit is contained in:
parent
47d599fe34
commit
7c601fd3ee
@ -840,7 +840,8 @@
|
||||
(mf/with-effect [handle-unmount] handle-unmount)
|
||||
|
||||
[:div {:class [class (stl/css-case :input-wrapper true
|
||||
:resizable (not is-token-applied?))]
|
||||
:resizable (and (not is-token-applied?)
|
||||
(not disabled)))]
|
||||
:ref wrapper-ref
|
||||
:on-pointer-down on-scrub-pointer-down
|
||||
:on-pointer-move on-scrub-pointer-move
|
||||
|
||||
@ -22,9 +22,10 @@
|
||||
column-gap: var(--sp-xs);
|
||||
align-items: center;
|
||||
inline-size: 100%;
|
||||
block-size: var(--token-field-height);
|
||||
background: var(--token-field-bg-color);
|
||||
border-radius: $br-8;
|
||||
padding-inline-end: var(--sp-xs);
|
||||
padding: 0 var(--input-padding-size, var(--sp-s));
|
||||
outline: $b-1 solid var(--token-field-outline-color);
|
||||
position: relative;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user