Skip to content

Commit 774d88c

Browse files
committed
fix: remove unnecesary padding on table
1 parent 4e69e86 commit 774d88c

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

packages/components-vue/src/components/table/HeadActions.vue

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
<table :id="`bulk_${tableId}`" class="tbl tbl-helper" :class="themeClasses">
1111
<tbody>
1212
<tr class="no--hover">
13-
<th
14-
v-if="withDefaultSlot || $slots.headActions"
15-
class="--sticky"
16-
:class="{ '--pBottom-10': !nested }"
17-
>
13+
<th v-if="withDefaultSlot || $slots.headActions" class="--sticky">
1814
<div
1915
class="flx --flxRow --flx-start-center --gap-10 --gap:md --flx"
2016
>
@@ -56,15 +52,10 @@
5652
></slot>
5753
</div>
5854
</th>
59-
<td
60-
:class="{ '--pBottom-10': !nested }"
61-
:colspan="propertiesMeta.length"
62-
width="99%"
63-
></td>
55+
<td :colspan="propertiesMeta.length" width="99%"></td>
6456
<th
6557
v-if="!isReadOnly && nodes.length > 1 && deleteNode"
6658
class="--sticky"
67-
:class="{ '--pBottom-10': !nested }"
6859
colspan="0"
6960
width="1px"
7061
>

packages/components-vue/src/components/table/HeadContent.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
9292
import IconFa from "../icon/Fa.vue";
9393
import ActionLink from "../action/Link.vue";
94+
import InputToggle from "../input/Toggle.vue";
9495
9596
import type { iTableChildProps } from "../../types/props";
9697
import useTheme from "../../composables/theme";

0 commit comments

Comments
 (0)