mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(editor): Move editor-ui and design-system to frontend dir (no-changelog) (#13564)
This commit is contained in:
30
packages/frontend/editor-ui/src/components/TitledList.vue
Normal file
30
packages/frontend/editor-ui/src/components/TitledList.vue
Normal file
@@ -0,0 +1,30 @@
|
||||
<script lang="ts" setup>
|
||||
defineProps<{
|
||||
title: string;
|
||||
items: string[];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="titled-list">
|
||||
<p v-text="title" />
|
||||
<ul>
|
||||
<li v-for="item in items" :key="item" class="titled-list-item" v-n8n-html="item" />
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.titled-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.titled-list-item {
|
||||
list-style: none;
|
||||
padding-left: var(--spacing-3xs);
|
||||
&::before {
|
||||
content: '- ';
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user