mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 02:18:23 +02:00
commit
0f46efc117
5 changed files with 15 additions and 8 deletions
|
@ -53,6 +53,11 @@ on-premises instances** that want to keep up to date.
|
|||
- Fix wrong color in the export progress bar [Taiga #11299](https://tree.taiga.io/project/penpot/issue/11299)
|
||||
- Fix right sidebar width overflow on long layer names [Taiga #11212](https://tree.taiga.io/project/penpot/issue/11212)
|
||||
- Fix comment icon fill [Taiga #11388](https://tree.taiga.io/project/penpot/issue/11388)
|
||||
- Fix gap on radio-buttons component [Taiga #11360](https://tree.taiga.io/project/penpot/issue/11360)
|
||||
- Fix button width [Taiga #11394](https://tree.taiga.io/project/penpot/issue/11394)
|
||||
- Fix mixed letter spacing and line height [Taiga #11178](https://tree.taiga.io/project/penpot/issue/11178)
|
||||
- Fix snap nodes shortcut [Taiga #11054](https://tree.taiga.io/project/penpot/issue/11054)
|
||||
|
||||
## 2.7.2
|
||||
|
||||
### :bug: Bugs fixed
|
||||
|
|
|
@ -73,7 +73,8 @@
|
|||
:fn #(st/emit! (drp/make-curve))}
|
||||
|
||||
:snap-nodes {:tooltip (ds/meta "'")
|
||||
:command (ds/c-mod "'")
|
||||
;;https://github.com/ccampbell/mousetrap/issues/85
|
||||
:command [(ds/c-mod "'") (ds/c-mod "219")]
|
||||
:subsections [:path-editor]
|
||||
:fn #(st/emit! (drp/toggle-snap))}
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
border-radius: $br-8;
|
||||
height: $s-32;
|
||||
background-color: var(--input-background-color);
|
||||
gap: $s-4;
|
||||
}
|
||||
|
||||
.radio-icon {
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
.multiple-exports {
|
||||
@include flexRow;
|
||||
grid-column: 1 / 9;
|
||||
}
|
||||
|
||||
.label {
|
||||
|
|
|
@ -360,11 +360,8 @@
|
|||
[{:keys [values on-change on-blur]}]
|
||||
(let [{:keys [line-height
|
||||
letter-spacing]} values
|
||||
|
||||
line-height (or line-height "1.2")
|
||||
letter-spacing (or letter-spacing "0")
|
||||
line-height-nillable (if (= (str line-height) "1.2") false true)
|
||||
|
||||
handle-change
|
||||
(fn [value attr]
|
||||
(on-change {attr (str value)}))]
|
||||
|
@ -379,11 +376,11 @@
|
|||
{:min -200
|
||||
:max 200
|
||||
:step 0.1
|
||||
:default "1.2"
|
||||
:default-value "1.2"
|
||||
:class (stl/css :line-height-input)
|
||||
:value (attr->string line-height)
|
||||
:placeholder (tr "settings.multiple")
|
||||
:nillable line-height-nillable
|
||||
:placeholder (if (= :multiple line-height) (tr "settings.multiple") "--")
|
||||
:nillable (= :multiple line-height)
|
||||
:on-change #(handle-change % :line-height)
|
||||
:on-blur on-blur}]]
|
||||
|
||||
|
@ -397,10 +394,12 @@
|
|||
{:min -200
|
||||
:max 200
|
||||
:step 0.1
|
||||
:default-value "0"
|
||||
:class (stl/css :letter-spacing-input)
|
||||
:value (attr->string letter-spacing)
|
||||
:placeholder (tr "settings.multiple")
|
||||
:placeholder (if (= :multiple letter-spacing) (tr "settings.multiple") "--")
|
||||
:on-change #(handle-change % :letter-spacing)
|
||||
:nillable (= :multiple letter-spacing)
|
||||
:on-blur on-blur}]]]))
|
||||
|
||||
(mf/defc text-transform-options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue