fix: use inline style for enabled channel highlight
This commit is contained in:
@@ -206,7 +206,7 @@ onMounted(load)
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<template v-for="ch in channels" :key="ch.id">
|
<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">
|
<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)">
|
<button class="inline-flex items-center gap-1.5 text-ink transition hover:text-accent" @click="toggleDrawer(ch)">
|
||||||
<span class="truncate">{{ ch.name }}</span>
|
<span class="truncate">{{ ch.name }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user