From 02fd00da10852c59c742a52c81b2f0b10fcd256b Mon Sep 17 00:00:00 2001 From: 0HyperCube <78500760+0HyperCube@users.noreply.github.com> Date: Thu, 12 Aug 2021 00:56:18 +0100 Subject: [PATCH] Fix floating menu positioning behavior when web page has scrollbars (#263) (#341) * Fix color picker position on scrolled window * Robust fix with proper usage of CSS stacking contexts * Fix mobile device scaling Co-authored-by: Keavon Chambers --- frontend/public/index.html | 2 +- frontend/src/components/window/MainWindow.vue | 6 ++++-- frontend/src/components/workspace/Workspace.vue | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/frontend/public/index.html b/frontend/public/index.html index af63f786a9..1e252f9630 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -4,7 +4,7 @@ - + diff --git a/frontend/src/components/window/MainWindow.vue b/frontend/src/components/window/MainWindow.vue index 60867de8f9..5ac19beb8a 100644 --- a/frontend/src/components/window/MainWindow.vue +++ b/frontend/src/components/window/MainWindow.vue @@ -14,8 +14,10 @@