fix(editor): Fix post-migration CSS inconsistencies (no-changelog) (#6902)

* fix: fix node execute button spacing

* fix: minor css fixes

* fix: fix node-parameters-wrapper height
This commit is contained in:
Alex Grozav 2023-08-10 11:09:55 +03:00 committed by GitHub
parent f3248e46e4
commit e6e6216b5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
<template>
<el-tooltip v-bind="{ ...$props, ...$attrs }">
<el-tooltip v-bind="{ ...$props, ...$attrs }" popper-class="n8n-tooltip">
<slot />
<template #content>
<slot name="content">

View file

@ -30,7 +30,7 @@
// @use "./time-select.scss";
// @use "./time-picker.scss";
@use './popover.scss';
@use './tooltip.scss';
//@use './tooltip.scss';
@use './message-box.scss';
// @use "./breadcrumb.scss";
// @use "./breadcrumb-item.scss";

View file

@ -150,3 +150,8 @@
}
}
}
.el-popper.n8n-tooltip {
max-width: 180px;
line-height: var(--font-line-height-regular) !important;
}

View file

@ -2,6 +2,8 @@
@use './common/var';
@include mixins.b(tooltip) {
max-width: 200px;
&:focus:not(.focusing),
&:focus:hover {
outline-width: 0;

View file

@ -1,5 +1,5 @@
<template>
<span>
<div>
<n8n-tooltip placement="bottom" :disabled="!disabledHint">
<template #content>
<div>{{ disabledHint }}</div>
@ -17,7 +17,7 @@
/>
</div>
</n8n-tooltip>
</span>
</div>
</template>
<script lang="ts">

View file

@ -1010,6 +1010,7 @@ export default defineComponent({
}
.node-parameters-wrapper {
min-height: 100%;
overflow-y: auto;
padding: 0 20px 200px 20px;
}

View file

@ -224,7 +224,3 @@
}
}
}
.el-popper:not(.el-popover) {
max-width: 265px;
}

View file

@ -16,7 +16,7 @@
<font-awesome-icon icon="plus" size="lg" />
</button>
<template #content>
<p v-text="$locale.baseText('nodeView.canvasAddButton.addATriggerNodeBeforeExecuting')" />
{{ $locale.baseText('nodeView.canvasAddButton.addATriggerNodeBeforeExecuting') }}
</template>
</n8n-tooltip>
<p :class="$style.label" v-text="$locale.baseText('nodeView.canvasAddButton.addFirstStep')" />
@ -81,10 +81,6 @@ const containerCssVars = computed(() => ({
}
}
:root .tooltip {
max-width: 180px;
}
.label {
width: max-content;
font-weight: var(--font-weight-bold);