mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
✨ Add tooltips to some buttons
This commit is contained in:
parent
3d6eb9d4bb
commit
b3f4f389ff
4 changed files with 36 additions and 0 deletions
|
@ -239,6 +239,7 @@
|
|||
|
||||
[:button {:class (stl/css :item-button)
|
||||
:type "button"
|
||||
:title (tr "workspace.libraries.unlink-library-btn")
|
||||
:data-library-id (dm/str id)
|
||||
:on-click unlink-library}
|
||||
detach-icon]])]]
|
||||
|
@ -270,6 +271,7 @@
|
|||
:typography-count typography-count}])]]
|
||||
[:button {:class (stl/css :item-button-shared)
|
||||
:data-library-id (dm/str id)
|
||||
:title (tr "workspace.libraries.shared-library-btn")
|
||||
:on-click link-library}
|
||||
add-icon]])]
|
||||
|
||||
|
|
|
@ -168,6 +168,7 @@
|
|||
:placeholder (tr "workspace.assets.search")}
|
||||
[:button
|
||||
{:on-click on-open-menu
|
||||
:title (tr "workspace.assets.filter")
|
||||
:class (stl/css-case :section-button true
|
||||
:opened menu-open?)}
|
||||
i/filter-icon]]
|
||||
|
@ -184,6 +185,7 @@
|
|||
:options options
|
||||
:workspace? true}]
|
||||
[:button {:class (stl/css :sort-button)
|
||||
:title (tr "workspace.assets.sort")
|
||||
:on-click toggle-ordering}
|
||||
(if reverse-sort?
|
||||
i/asc-sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue