Skip to content

Commit 366454e

Browse files
committed
refac
1 parent 4578bf5 commit 366454e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/lib/components/automations/AutomationEditor.svelte

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -378,18 +378,17 @@
378378
<div class="space-y-2.5">
379379
<div class="flex items-center justify-between text-xs">
380380
<span class="text-gray-600 dark:text-gray-400">{$i18n.t('State')}</span>
381-
<div
382-
class="flex items-center gap-1.5 px-2.5 py-1 rounded-xl text-xs transition {is_active
383-
? 'text-emerald-700 dark:text-emerald-400 bg-emerald-50 dark:bg-emerald-500/10'
384-
: 'text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800'}"
381+
<span class="flex items-center gap-1.5 text-xs {is_active
382+
? 'text-emerald-700 dark:text-emerald-400'
383+
: 'text-gray-600 dark:text-gray-400'}"
385384
>
386385
<span
387386
class="inline-block size-1.5 rounded-full {is_active
388387
? 'bg-emerald-500'
389388
: 'bg-gray-400'}"
390389
></span>
391-
<span>{is_active ? $i18n.t('Active') : $i18n.t('Paused')}</span>
392-
</div>
390+
{is_active ? $i18n.t('Active') : $i18n.t('Paused')}
391+
</span>
393392
</div>
394393

395394
<div class="flex items-center justify-between text-xs">

0 commit comments

Comments
 (0)