mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 10:01:39 +02:00
🐛 Fix tooltips and modals.
This commit is contained in:
parent
e9dba06600
commit
447293bc4e
4 changed files with 15 additions and 12 deletions
|
@ -164,12 +164,12 @@
|
|||
[:span.counters (str (inc index) " / " total)]]
|
||||
|
||||
[:div.mode-zone
|
||||
[:button.mode-zone-button {:on-click #(when (not= screen :viewer)
|
||||
[:button.mode-zone-button.tooltip.tooltip-bottom {:on-click #(when (not= screen :viewer)
|
||||
(change-screen :viewer))
|
||||
:class (when (= screen :viewer) "active")} i/play]
|
||||
[:button.mode-zone-button {:on-click #(when (not= screen :handoff)
|
||||
:class (when (= screen :viewer) "active") :alt "View mode"} i/play]
|
||||
[:button.mode-zone-button.tooltip.tooltip-bottom {:on-click #(when (not= screen :handoff)
|
||||
(change-screen :handoff))
|
||||
:class (when (= screen :handoff) "active")} i/code]]
|
||||
:class (when (= screen :handoff) "active") :alt "Code mode"} i/code]]
|
||||
|
||||
[:div.options-zone
|
||||
[:& interactions-menu {:interactions-mode interactions-mode}]
|
||||
|
|
|
@ -258,7 +258,7 @@
|
|||
:on-zoom-fit #(st/emit! dw/zoom-to-fit-all)
|
||||
:on-zoom-selected #(st/emit! dw/zoom-to-selected-shape)}]
|
||||
|
||||
[:a.btn-icon-dark.btn-small
|
||||
[:a.btn-icon-dark.btn-small.tooltip.tooltip-bottom
|
||||
{;; :target "__blank"
|
||||
:alt (t locale "workspace.header.viewer")
|
||||
:href (str "#" view-url)} i/play]]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue