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 <keavon@keavon.com>
This commit is contained in:
0HyperCube
2021-08-11 16:56:18 -07:00
committed by GitHub
co-authored by Keavon Chambers
parent 9cd6d57337
commit 02fd00da10
3 changed files with 9 additions and 4 deletions
@@ -24,6 +24,7 @@
<style lang="scss">
.workspace-grid-subdivision {
min-height: 28px;
min-width: 0;
flex: 1 1 0;
&.folded {
@@ -33,13 +34,15 @@
}
.workspace-grid-resize-gutter {
flex: 0 0 4px;
flex: 0 0 auto;
&.layout-row {
height: 4px;
cursor: ns-resize;
}
&.layout-col {
width: 4px;
cursor: ew-resize;
}
}