1
0
mirror of https://github.com/lana-k/sqliteviz.git synced 2025-12-06 18:18:53 +08:00

add titles, align row title to the left

This commit is contained in:
lana-k
2025-03-30 15:13:36 +02:00
parent 6ceac83db9
commit 2741aa6f33
2 changed files with 5 additions and 1 deletions

View File

@@ -8,6 +8,7 @@
class="fixed-header"
:style="{ width: `${th.width}px` }"
:key="index"
:title="th.name"
>
{{ th.name }}
</div>

View File

@@ -17,7 +17,9 @@
</thead>
<tbody>
<tr v-for="(col, index) in columns" :key="index">
<th class="column-cell">{{ col }}</th>
<th class="column-cell" :title="col">
{{ col }}
</th>
<td
:data-col="index"
:data-row="currentRowIndex"
@@ -190,6 +192,7 @@ table.sqliteviz-table {
}
.sqliteviz-table thead tr th {
border-bottom: 1px solid var(--color-border-light);
text-align: left;
}
.sqliteviz-table tbody tr th {
font-size: 14px;