mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-22 02:18:11 +08:00
* 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:
co-authored by
Keavon Chambers
parent
9cd6d57337
commit
02fd00da10
@@ -14,8 +14,10 @@
|
||||
|
||||
<style lang="scss">
|
||||
.main-window {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
min-height: 100%;
|
||||
// Creates a new stacking context for the app UI so that floating menus (which use `position: fixed` to leave their spawner element's stacking context) have an app-centric stacking context
|
||||
// Without this, floating menus would default to the web page's stacking context, which causes the floating menus to stay fixed when the page is scrolled and get offset from the app UI
|
||||
transform: translate(0, 0);
|
||||
}
|
||||
|
||||
.title-bar-row {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user