mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 22:01:38 +02:00
🐛 Fix pin button color in dashboard/projects
This commit is contained in:
parent
094d11f972
commit
0a69bc03b0
2 changed files with 3 additions and 5 deletions
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue