0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-20 13:42:59 -05:00

Merge pull request #399 from tokens-studio/eva-fix-border-radius-tooltip

🐛 Fix border radius tooltip and padding on token pills
This commit is contained in:
Eva Marco 2025-01-03 11:21:12 +01:00 committed by GitHub
commit 3bd139286a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -116,8 +116,7 @@
[:> icon-button* {:class (stl/css-case :selected radius-expanded)
:variant "ghost"
:on-click toggle-radius-mode
:aria-label (tr "workspace.options.radius")
:title (if radius-expanded
:aria-label (if radius-expanded
(tr "workspace.options.radius.all-corners")
(tr "workspace.options.radius.single-corners"))
:icon "corner-radius"}]]))

View file

@ -27,7 +27,7 @@
outline: $s-2 solid var(--token-pill-outline);
height: $s-24;
border-radius: $br-8;
padding: $s-3 $s-8;
padding: $s-2 $s-8 $s-2 $s-4;
color: var(--token-pill-foreground);
background: var(--token-pill-background);