CSS editor layout fixes and scrolling

Major CSS improvements to layout at small screen sizes. By adding min-width: 0 and min-height: 0 on the nested display: flex structure, widgets no longer coerce the whole layout into large-scale resizing. Scrollbars are now used to allow correct overflowing of the tab bar (fixes #177), Document Panel options bar, and tool shelf. Improvements to responsive resizing are also included for viewing the UI correctly on mobile now. Additional small fixes to styling of widget colors and corner roundness. The ruler has been darkened one shade to improve text contrast and aesthetics.
This commit is contained in:
Keavon Chambers
2021-12-04 22:30:07 -08:00
parent 27da663d83
commit 71e967d043
16 changed files with 105 additions and 20 deletions
@@ -44,7 +44,7 @@
.plus {
display: flex;
align-items: center;
font-weight: bold;
font-weight: 700;
}
.user-input-label + .user-input-label {
@@ -10,7 +10,10 @@
display: flex;
align-items: center;
padding: 0 8px;
fill: var(--color-e-nearwhite);
svg {
fill: var(--color-e-nearwhite);
}
.text-label {
margin-right: 8px;
@@ -19,7 +22,10 @@
&:hover {
background: var(--color-6-lowergray);
color: var(--color-f-white);
fill: var(--color-f-white);
svg {
fill: var(--color-f-white);
}
}
}
</style>