💄 Assets tab visual adjustments

This commit is contained in:
Pablo Alba 2023-08-23 08:55:26 +02:00 committed by Andrés Moya
parent e1507755ba
commit 453c576fdd
25 changed files with 28 additions and 98 deletions

View file

@ -77,12 +77,14 @@
(if local?
[:*
[:span.library-title file-name " (" (tr "workspace.assets.local-library") ")"]
[:span.library-title (tr "workspace.assets.local-library")]
(when shared?
[:span.tool-badge (tr "workspace.assets.shared")])]
[:span.shared-library {:alt (tr "workspace.assets.shared-library") :title (tr "workspace.assets.shared-library")}
i/library]
)]
[:*
[:span.library-title file-name]
[:span.tool-link.tooltip.tooltip-left {:alt "Open library file"}
[:span.tool-link {:alt (tr "workspace.assets.open-library") :title (tr "workspace.assets.open-library")}
[:a {:href (str "#" url)
:target "_blank"
:on-click dom/stop-propagation}