在Bootstrap表中,如何更改行高度,因为我在行中有一个数据格式化器框,它被缩小了

In a Bootstrap table, how to change the row-height, since I have a data-formatter box in the row, that gets shrinked

本文关键字:数据格式 格式化 缩小 数据 表中 Bootstrap 何更改 高度 因为 有一个      更新时间:2023-09-26

我想减少行高(两行之间的空间)。由于行中有一个数据格式化框,因此它被缩小了。

可以设置td的高度,行高将由任意列的最大高度决定。

<table>
<tr>
<td height="20">Key</td>
<td height="20">Value</td>
</tr>
<tr>
<td>Key</td>
<td>Value</td>
</tr>
</table>