🐛 Fix problem with style in fonts input

This commit is contained in:
alonso.torres 2025-12-30 14:28:10 +01:00
parent 48e3f35bb3
commit 23e7116b24
3 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix setting a portion of text as bold or underline messes things up [Github #7980](https://github.com/penpot/penpot/issues/7980) - Fix setting a portion of text as bold or underline messes things up [Github #7980](https://github.com/penpot/penpot/issues/7980)
- Fix problem with style in fonts input [Taiga #12935](https://tree.taiga.io/project/penpot/issue/12935)
## 2.12.0 ## 2.12.0

View File

@ -360,7 +360,9 @@
(st/emit! (modal/show options)))))] (st/emit! (modal/show options)))))]
[:div {:class (stl/css :font-item :table-row)} [:div {:class (stl/css :font-item :table-row)}
[:div {:class (stl/css :table-field :family)} [:div {:class (stl/css-case :table-field true
:family true
:is-edition edition?)}
(if ^boolean edition? (if ^boolean edition?
[:input {:type "text" [:input {:type "text"
:auto-focus true :auto-focus true

View File

@ -126,6 +126,9 @@
@include twoLineTextEllipsis; @include twoLineTextEllipsis;
min-width: $sz-200; min-width: $sz-200;
width: $sz-200; width: $sz-200;
&.is-edition {
overflow: visible;
}
} }
> .filenames { > .filenames {