Skip to content

Commit 71b76d8

Browse files
committed
fix #196
1 parent 6cc0c43 commit 71b76d8

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/fields/metaBindTable/MetaBindTableComponent.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{#each tableHead as headCell}
2222
<th>{headCell}</th>
2323
{/each}
24-
<th></th>
24+
<th class="mb-html-table-button-cell"></th>
2525
</tr>
2626
</thead>
2727
<tbody>
@@ -36,7 +36,7 @@
3636
<td class="meta-bind-error" colspan={tableHead.length}> invalid data</td>
3737
{/if}
3838

39-
<td>
39+
<td class="mb-html-table-button-cell">
4040
<Button on:click={() => table.removeColumn(tableRow.index)}>
4141
<Icon iconName="x" />
4242
</Button>

styles.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,14 @@ a.mb-no-link {
485485
}
486486

487487
table.mb-html-table {
488+
489+
}
490+
491+
td.mb-html-table-button-cell {
492+
--table-column-min-width: 10px;
493+
}
494+
495+
th.mb-html-table-button-cell {
488496
--table-column-min-width: 10px;
489497
}
490498

0 commit comments

Comments
 (0)