mirror of
https://github.com/penpot/penpot.git
synced 2025-07-06 02:27:18 +02:00
♻️ Refactor dashboard sidebar css
This commit is contained in:
parent
9ad0662409
commit
c2b8e5c946
5 changed files with 700 additions and 677 deletions
|
@ -12,10 +12,10 @@
|
|||
|
||||
(mf/defc link
|
||||
{::mf/wrap-props false}
|
||||
[{:keys [action klass data-test keyboard-action children]}]
|
||||
[{:keys [action class data-test keyboard-action children]}]
|
||||
(let [keyboard-action (d/nilv keyboard-action action)]
|
||||
[:a {:on-click action
|
||||
:class klass
|
||||
:class class
|
||||
:on-key-down (fn [event]
|
||||
(when ^boolean (kbd/enter? event)
|
||||
(keyboard-action event)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue