mirror of
https://github.com/penpot/penpot.git
synced 2025-05-02 18:25:53 +02:00
🐛 Fix layout error and tooltip
This commit is contained in:
parent
6284f42a70
commit
1d608edb27
2 changed files with 4 additions and 5 deletions
|
@ -116,8 +116,7 @@
|
||||||
[:> icon-button* {:class (stl/css-case :selected radius-expanded)
|
[:> icon-button* {:class (stl/css-case :selected radius-expanded)
|
||||||
:variant "ghost"
|
:variant "ghost"
|
||||||
:on-click toggle-radius-mode
|
:on-click toggle-radius-mode
|
||||||
:aria-label (tr "workspace.options.radius")
|
:aria-label (if radius-expanded
|
||||||
:title (if radius-expanded
|
(tr "workspace.options.radius.all-corners")
|
||||||
(tr "workspace.options.radius.all-corners")
|
(tr "workspace.options.radius.single-corners"))
|
||||||
(tr "workspace.options.radius.single-corners"))
|
|
||||||
:icon "corner-radius"}]]))
|
:icon "corner-radius"}]]))
|
|
@ -27,7 +27,7 @@
|
||||||
outline: $s-2 solid var(--token-pill-outline);
|
outline: $s-2 solid var(--token-pill-outline);
|
||||||
height: $s-24;
|
height: $s-24;
|
||||||
border-radius: $br-8;
|
border-radius: $br-8;
|
||||||
padding: $s-3 $s-8;
|
padding: $s-2 $s-8 $s-2 $s-4;
|
||||||
color: var(--token-pill-foreground);
|
color: var(--token-pill-foreground);
|
||||||
background: var(--token-pill-background);
|
background: var(--token-pill-background);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue