Tidy up and remove old code and simplify some selectors

This commit is contained in:
Andrew Kingston 2024-08-10 20:08:49 +01:00
parent 533a597a0b
commit 304c244943
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

View File

@ -708,7 +708,7 @@
border-radius: 4px !important;
transition: padding 260ms ease-out, border 260ms ease-out;
}
.interactive :global(*) {
cursor: default;
.interactive {
cursor: default !important;
}
</style>

View File

@ -198,7 +198,7 @@
overflow: hidden;
height: 410px;
}
div.in-builder :global(*) {
pointer-events: none;
div.in-builder {
pointer-events: none !important;
}
</style>

View File

@ -36,7 +36,6 @@
// Set ephemeral styles
$: instance = componentStore.actions.getComponentInstance(id)
$: $instance?.setEphemeralStyles(enrichComponentStyles($styles))
$: $styles, console.log("new styles")
// Sugar for a combination of both min and max
const minMax = (value, min, max) => Math.min(max, Math.max(min, value))