fix: make home table divider theming reliable
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@
|
|||||||
<th class="px-6 py-3 text-left text-xs font-medium theme-text-muted uppercase tracking-wider">Last Service</th>
|
<th class="px-6 py-3 text-left text-xs font-medium theme-text-muted uppercase tracking-wider">Last Service</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="theme-border [&>tr]:border-b [&>tr]:theme-border [&>tr:last-child]:border-b-0">
|
<tbody class="theme-row-dividers">
|
||||||
<?php foreach ($vehicles as $vehicle): ?>
|
<?php foreach ($vehicles as $vehicle): ?>
|
||||||
<tr class="theme-surface-alt hover:opacity-95 cursor-pointer" onclick="window.location='<?php echo url('/vehicles/' . $vehicle['id']); ?>'">
|
<tr class="theme-surface-alt hover:opacity-95 cursor-pointer" onclick="window.location='<?php echo url('/vehicles/' . $vehicle['id']); ?>'">
|
||||||
<td class="px-6 py-4 whitespace-nowrap">
|
<td class="px-6 py-4 whitespace-nowrap">
|
||||||
|
|||||||
@@ -88,6 +88,14 @@ if ($themeSection === 'head'):
|
|||||||
border-color: var(--theme-border);
|
border-color: var(--theme-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-row-dividers > tr {
|
||||||
|
border-bottom: 1px solid var(--theme-border);
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-row-dividers > tr:last-child {
|
||||||
|
border-bottom-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.theme-input {
|
.theme-input {
|
||||||
background-color: var(--theme-surface);
|
background-color: var(--theme-surface);
|
||||||
border-color: var(--theme-border);
|
border-color: var(--theme-border);
|
||||||
|
|||||||
Reference in New Issue
Block a user