Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

feat: add rounded background styling to workflow dashboard trigger icons

claude[bot]e884510c3c11
diff --git a/packages/nc-gui/components/project/WorkflowsList.vue b/packages/nc-gui/components/project/WorkflowsList.vue
index b2ea4131bb..65c3ae709b 100644
--- a/packages/nc-gui/components/project/WorkflowsList.vue
+++ b/packages/nc-gui/components/project/WorkflowsList.vue
@@ -419,11 +419,15 @@ watch(baseId, async (newBaseId) => {
</div>
<div v-else-if="column.key === 'trigger'" class="flex items-center gap-2">
- <GeneralIcon
+ <div
v-if="getTriggerType(record).icon"
- :icon="getTriggerType(record).icon"
- class="w-4 h-4 text-nc-content-gray-muted flex-none"
- />
+ class="bg-nc-bg-brand text-nc-content-brand-disabled w-6 h-6 flex items-center justify-center rounded-md p-1 flex-none"
+ >
+ <GeneralIcon
+ :icon="getTriggerType(record).icon"
+ class="!w-5 !h-5"
+ />
+ </div>
<span class="truncate">{{ getTriggerType(record).text }}</span>
</div>