0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Fix pin button color in dashboard/projects

This commit is contained in:
Belén Albeza 2024-01-29 11:14:43 +01:00 committed by Andrey Antukh
parent 094d11f972
commit 0a69bc03b0
2 changed files with 3 additions and 5 deletions

View file

@ -305,7 +305,7 @@
[:div {:class (stl/css :project-actions)}
(when-not (:is-default project)
[:> pin-button* {:is-pinned (:is-pinned project) :on-click toggle-pin :tab-index 0}])
[:> pin-button* {:class (stl/css :pin-button) :is-pinned (:is-pinned project) :on-click toggle-pin :tab-index 0}])
[:button
{:class (stl/css :btn-secondary :btn-small :tooltip :tooltip-bottom)

View file

@ -108,10 +108,7 @@
opacity: 1;
margin-left: $s-32;
svg {
fill: $df-primary;
}
.btn-small {
.btn-small:not(.pin-button) {
height: $s-32;
margin: 0 $s-8;
width: $s-32;
@ -120,6 +117,7 @@
background: transparent;
}
svg {
fill: $df-primary;
height: $s-16;
width: $s-16;
}