mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix: Bring back TidyUp button's icon and fix Easy AI button size (#14818)
This commit is contained in:
committed by
GitHub
parent
a217611b2a
commit
1e5c1fceb7
@@ -20,7 +20,10 @@ const emit = defineEmits<{
|
|||||||
data-test-id="from-ai-override-button"
|
data-test-id="from-ai-override-button"
|
||||||
@click="emit('click')"
|
@click="emit('click')"
|
||||||
>
|
>
|
||||||
|
<span>
|
||||||
|
<!-- The span wrapping the icon centers it due to reliance on legacy behavior -->
|
||||||
<AiStarsIcon size="large" />
|
<AiStarsIcon size="large" />
|
||||||
|
</span>
|
||||||
</N8nButton>
|
</N8nButton>
|
||||||
</N8nTooltip>
|
</N8nTooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { Controls } from '@vue-flow/controls';
|
|
||||||
import KeyboardShortcutTooltip from '@/components/KeyboardShortcutTooltip.vue';
|
import KeyboardShortcutTooltip from '@/components/KeyboardShortcutTooltip.vue';
|
||||||
import TidyUpIcon from '@/components/TidyUpIcon.vue';
|
import TidyUpIcon from '@/components/TidyUpIcon.vue';
|
||||||
import { computed } from 'vue';
|
|
||||||
import { useI18n } from '@/composables/useI18n';
|
import { useI18n } from '@/composables/useI18n';
|
||||||
|
import { Controls } from '@vue-flow/controls';
|
||||||
|
import { computed } from 'vue';
|
||||||
|
|
||||||
const props = withDefaults(
|
const props = withDefaults(
|
||||||
defineProps<{
|
defineProps<{
|
||||||
@@ -114,9 +114,8 @@ function onTidyUp() {
|
|||||||
|
|
||||||
<style module lang="scss">
|
<style module lang="scss">
|
||||||
.iconButton {
|
.iconButton {
|
||||||
display: flex;
|
padding-left: 0;
|
||||||
align-items: center;
|
padding-right: 0;
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|||||||
Reference in New Issue
Block a user