mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +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"
|
||||
@click="emit('click')"
|
||||
>
|
||||
<AiStarsIcon size="large" />
|
||||
<span>
|
||||
<!-- The span wrapping the icon centers it due to reliance on legacy behavior -->
|
||||
<AiStarsIcon size="large" />
|
||||
</span>
|
||||
</N8nButton>
|
||||
</N8nTooltip>
|
||||
</template>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
import { Controls } from '@vue-flow/controls';
|
||||
import KeyboardShortcutTooltip from '@/components/KeyboardShortcutTooltip.vue';
|
||||
import TidyUpIcon from '@/components/TidyUpIcon.vue';
|
||||
import { computed } from 'vue';
|
||||
import { useI18n } from '@/composables/useI18n';
|
||||
import { Controls } from '@vue-flow/controls';
|
||||
import { computed } from 'vue';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
@@ -114,9 +114,8 @@ function onTidyUp() {
|
||||
|
||||
<style module lang="scss">
|
||||
.iconButton {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
svg {
|
||||
width: 16px;
|
||||
|
||||
Reference in New Issue
Block a user