fix(editor): Fix newly introduced style issues after rolldown-vite migration (no-changelog) (#21163)

This commit is contained in:
Alex Grozav
2025-10-27 13:11:54 +02:00
committed by GitHub
parent 4ea2757df6
commit 63fdc999fe
4 changed files with 30 additions and 25 deletions
@@ -1076,18 +1076,6 @@ defineExpose({
opacity: 1;
}
:global(.vue-flow__pane) {
cursor: grab;
&:global(.selection) {
cursor: default;
}
&:global(.dragging) {
cursor: grabbing;
}
}
&.isExperimentalNdvActive {
--canvas-zoom-compensation-factor: 0.5;
}
@@ -171,11 +171,3 @@ function onTidyUp() {
}
}
</style>
<style lang="scss">
.vue-flow__controls {
display: flex;
gap: var(--spacing--xs);
box-shadow: none;
}
</style>
@@ -45,9 +45,4 @@ const classes = computed(() => ({
content: '*';
color: var(--color--danger);
}
:global(.vue-flow__handle:not(.connectionindicator)) .plus {
display: none;
position: absolute;
}
</style>
@@ -92,6 +92,17 @@
z-index: 2 !important;
}
/**
* Handles
*/
.vue-flow__handle {
&:not(.connectionindicator) .plus {
display: none;
position: absolute;
}
}
/**
* Selection
*/
@@ -112,12 +123,31 @@
z-index: 1 !important;
}
/**
* Pane
*/
.vue-flow__pane {
cursor: grab;
&.selection {
cursor: default;
}
&.dragging {
cursor: grabbing;
}
}
/**
* Controls
*/
.vue-flow__controls {
margin: var(--spacing--sm);
display: flex;
gap: var(--spacing--xs);
box-shadow: none;
@include mixins.breakpoint('xs-only') {
max-width: calc(100% - 3 * var(--spacing--sm) - var(--spacing--2xs));