From 18091dd3cd25108a48f51ff853949681b823b876 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 af63f786..1e252f96 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 60867de8..5ac19beb 100644 --- a/frontend/src/components/window/MainWindow.vue +++ b/frontend/src/components/window/MainWindow.vue @@ -14,8 +14,10 @@