From 1c687681de5d6dec74b0e1493c4f833bc7bdedf9 Mon Sep 17 00:00:00 2001 From: CODEX Date: Tue, 23 Jun 2026 21:44:11 +0300 Subject: [PATCH] Position BIM nav cube by embed mode --- frontend/dcViewer.css | 10 ++++++++-- frontend/index.html | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/frontend/dcViewer.css b/frontend/dcViewer.css index 974bab9..b02e595 100644 --- a/frontend/dcViewer.css +++ b/frontend/dcViewer.css @@ -217,14 +217,20 @@ html.is-embedded-viewer .logo-btn { #navCube { position: absolute; - top: 64px; - right: 64px; + top: 32px; + right: 32px; + left: auto; width: 100px; height: 100px; z-index: 5; display: none; } +html.is-embedded-viewer #navCube { + right: auto; + left: 32px; +} + /* убираем штатный спиннер xeokit (sk-circle) */ .sk-circle, [class*="sk-circle"] { diff --git a/frontend/index.html b/frontend/index.html index c58a0bf..838cd6b 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -231,7 +231,7 @@ - +