Fix background color on grid underlay and ensure screens with grids default to 24x24
This commit is contained in:
parent
1ff0c99764
commit
e3f4e5525e
|
@ -13,8 +13,9 @@
|
|||
const onLoadActions = memo()
|
||||
|
||||
// Get the screen definition for the current route
|
||||
$: screenDefinition = $screenStore.activeScreen?.props
|
||||
$: onLoadActions.set($screenStore.activeScreen?.onLoad)
|
||||
$: screen = $screenStore.activeScreen
|
||||
$: screenDefinition = { cols: 24, rows: 24, ...screen?.props }
|
||||
$: onLoadActions.set(screen?.onLoad)
|
||||
$: runOnLoadActions($onLoadActions, params)
|
||||
|
||||
// Enrich and execute any on load actions.
|
||||
|
|
|
@ -81,15 +81,16 @@
|
|||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
grid-gap: 2px;
|
||||
background-color: var(--spectrum-global-color-gray-200);
|
||||
border: 2px solid var(--spectrum-global-color-gray-200);
|
||||
/* grid-gap: 2px;*/
|
||||
/* background-color: var(--spectrum-global-color-gray-200);*/
|
||||
border: 1px solid var(--spectrum-global-color-gray-200);
|
||||
}
|
||||
.underlay {
|
||||
z-index: -1;
|
||||
}
|
||||
.placeholder {
|
||||
background-color: var(--spectrum-global-color-gray-100);
|
||||
/* background-color: var(--spectrum-global-color-gray-100);*/
|
||||
border: 1px solid var(--spectrum-global-color-gray-200);
|
||||
}
|
||||
|
||||
/* Ensure all top level children have grid styles applied */
|
||||
|
|
Loading…
Reference in New Issue