fix(workbench): keep map visible in junction tools
This commit is contained in:
1 parent
c9d9e45f48
commit
e6b822416d
2 files changed
+17
-2
No files matched your search
@@ -531,10 +531,13 @@ pre {
|
||||
.form-hint {
|
||||
color: #7b6542;
|
||||
}
|
||||
/* JunctionTools local workspace overlay. */
|
||||
/* JunctionTools keeps the map visible while the contextual editor stays docked. */
|
||||
.junction-workspace {
|
||||
position: fixed;
|
||||
inset: 3.5rem 1rem 1rem;
|
||||
top: 3.5rem;
|
||||
right: 1rem;
|
||||
bottom: 1rem;
|
||||
width: min(430px, calc(100vw - 2rem));
|
||||
z-index: 20;
|
||||
overflow: auto;
|
||||
background: var(--panel, #fff);
|
||||
@@ -592,3 +595,13 @@ pre {
|
||||
background: #f8fafc;
|
||||
color: #475569;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.junction-workspace {
|
||||
top: auto;
|
||||
right: 0.5rem;
|
||||
bottom: 0.5rem;
|
||||
left: 0.5rem;
|
||||
width: auto;
|
||||
max-height: 68vh;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user