Contain circuit editor scrolling
This commit is contained in:
+16
-2
@@ -44,12 +44,19 @@ body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.75rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.editor-toolbar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
position: relative;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 12;
|
||||
padding: 0.35rem 0;
|
||||
background: #fff;
|
||||
box-shadow: 0 1px 0 rgba(196, 205, 220, 0.8);
|
||||
}
|
||||
|
||||
.editor-toolbar button {
|
||||
@@ -137,13 +144,20 @@ body {
|
||||
overflow: auto;
|
||||
border: 1px solid #d9dee8;
|
||||
background: #fff;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
max-height: max(28rem, calc(100vh - 12rem));
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.tree-editor-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 320px 1fr;
|
||||
grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
|
||||
gap: 0.75rem;
|
||||
min-height: 560px;
|
||||
min-width: 0;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.project-device-sidebar {
|
||||
|
||||
Reference in New Issue
Block a user