mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 00:46:36 +02:00
🐛 Use new icon for menu action in project grid
This commit is contained in:
parent
9594c70ec5
commit
233e7e7e87
2 changed files with 14 additions and 11 deletions
|
@ -95,6 +95,9 @@
|
|||
|
||||
;; --- Grid Item Library
|
||||
|
||||
(def ^:private menu-icon
|
||||
(i/icon-xref :menu-refactor (stl/css :menu-icon)))
|
||||
|
||||
(mf/defc grid-item-library
|
||||
{::mf/wrap [mf/memo]}
|
||||
[{:keys [file] :as props}]
|
||||
|
@ -381,7 +384,7 @@
|
|||
(when (kbd/enter? event)
|
||||
(dom/stop-propagation event)
|
||||
(on-menu-click event)))}
|
||||
i/actions
|
||||
menu-icon
|
||||
(when (and selected? file-menu-open?)
|
||||
[:& file-menu {:files (vals selected-files)
|
||||
:show? (:menu-open dashboard-local)
|
||||
|
|
|
@ -238,22 +238,22 @@ $thumbnail-default-height: $s-168; // Default width
|
|||
margin-right: 0;
|
||||
margin-top: $s-20;
|
||||
width: 100%;
|
||||
|
||||
svg {
|
||||
fill: $df-secondary;
|
||||
margin-right: 0;
|
||||
height: $s-16;
|
||||
width: $s-16;
|
||||
}
|
||||
--menu-icon-color: var(--button-tertiary-foreground-color-rest);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
svg {
|
||||
fill: $da-tertiary;
|
||||
}
|
||||
--menu-icon-color: var(--button-tertiary-foreground-color-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.menu-icon {
|
||||
stroke: var(--menu-icon-color);
|
||||
fill: none;
|
||||
margin-right: 0;
|
||||
height: $s-16;
|
||||
width: $s-16;
|
||||
}
|
||||
|
||||
.project-th-actions.force-display {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue