🐛 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)} [:div {:class (stl/css :project-actions)}
(when-not (:is-default project) (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 [:button
{:class (stl/css :btn-secondary :btn-small :tooltip :tooltip-bottom) {:class (stl/css :btn-secondary :btn-small :tooltip :tooltip-bottom)

View file

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