Tidy up and remove old code and simplify some selectors
This commit is contained in:
parent
533a597a0b
commit
304c244943
|
@ -708,7 +708,7 @@
|
||||||
border-radius: 4px !important;
|
border-radius: 4px !important;
|
||||||
transition: padding 260ms ease-out, border 260ms ease-out;
|
transition: padding 260ms ease-out, border 260ms ease-out;
|
||||||
}
|
}
|
||||||
.interactive :global(*) {
|
.interactive {
|
||||||
cursor: default;
|
cursor: default !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -198,7 +198,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 410px;
|
height: 410px;
|
||||||
}
|
}
|
||||||
div.in-builder :global(*) {
|
div.in-builder {
|
||||||
pointer-events: none;
|
pointer-events: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
// Set ephemeral styles
|
// Set ephemeral styles
|
||||||
$: instance = componentStore.actions.getComponentInstance(id)
|
$: instance = componentStore.actions.getComponentInstance(id)
|
||||||
$: $instance?.setEphemeralStyles(enrichComponentStyles($styles))
|
$: $instance?.setEphemeralStyles(enrichComponentStyles($styles))
|
||||||
$: $styles, console.log("new styles")
|
|
||||||
|
|
||||||
// Sugar for a combination of both min and max
|
// Sugar for a combination of both min and max
|
||||||
const minMax = (value, min, max) => Math.min(max, Math.max(min, value))
|
const minMax = (value, min, max) => Math.min(max, Math.max(min, value))
|
||||||
|
|
Loading…
Reference in New Issue