🐛 Show view mode buttons correctly centered in viewer

This commit is contained in:
Andrés Moya 2022-01-13 09:54:57 +01:00 committed by Andrey Antukh
parent c23691284c
commit 2aeded1940
4 changed files with 15 additions and 10 deletions

View file

@ -177,12 +177,13 @@
(st/emit! (dv/go-to-section section)))]
[:header.viewer-header
[:div.main-icon
[:a {:on-click go-to-dashboard
;; If the user doesn't have permission we disable the link
:style {:pointer-events (when-not permissions "none")}} i/logo-icon]]
[:div.nav-zone
[:div.main-icon
[:a {:on-click go-to-dashboard
;; If the user doesn't have permission we disable the link
:style {:pointer-events (when-not permissions "none")}} i/logo-icon]]
[:& header-sitemap {:project project :file file :page page :frame frame :index index}]
[:& header-sitemap {:project project :file file :page page :frame frame :index index}]]
[:div.mode-zone
[:button.mode-zone-button.tooltip.tooltip-bottom
@ -213,4 +214,3 @@
:file file
:index index
:zoom zoom}]]))