Slightly improve the look and behaviour of working with grid components
This commit is contained in:
parent
8a022bb21e
commit
86061543dd
|
@ -103,7 +103,7 @@
|
|||
|
||||
/* Highlight sibling borders when resizing childern */
|
||||
:global(.grid.highlight > .component:not(.dragging)) {
|
||||
outline: 1px solid var(--spectrum-global-color-static-blue-200);
|
||||
outline: 2px solid var(--spectrum-global-color-static-blue-200);
|
||||
}
|
||||
|
||||
/* Ensure all top level children have grid styles applied */
|
||||
|
|
|
@ -147,6 +147,7 @@
|
|||
if (!domGrid) {
|
||||
return
|
||||
}
|
||||
builderStore.actions.selectComponent(id)
|
||||
|
||||
// Apply active class to grid
|
||||
domComponent.parentNode.classList.add("dragging")
|
||||
|
|
Loading…
Reference in New Issue