fix: use inline style for enabled channel highlight

This commit is contained in:
Sakurasan
2026-08-22 12:21:48 +08:00
parent 4aa8b79156
commit 8430ecc6c6
+1 -1
View File
@@ -206,7 +206,7 @@ onMounted(load)
</thead>
<tbody>
<template v-for="ch in channels" :key="ch.id">
<tr class="table-row" :class="ch.enabled ? 'bg-accent-soft' : ''">
<tr class="table-row" :style="ch.enabled ? { borderLeft: '2px solid var(--color-accent)' } : {}">
<td class="px-4 py-2.5">
<button class="inline-flex items-center gap-1.5 text-ink transition hover:text-accent" @click="toggleDrawer(ch)">
<span class="truncate">{{ ch.name }}</span>