Skip to content

Commit 7c8a04b

Browse files
committed
fix: use box on table to match theme
1 parent 340b5f7 commit 7c8a04b

File tree

1 file changed

+7
-3
lines changed
  • packages/components-vue/src/components/table

1 file changed

+7
-3
lines changed

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,12 @@
180180
<!-- Row children content -->
181181
<tr class="no--hover --width-100">
182182
<td :colspan="propertiesMeta.length + 2">
183-
<div
183+
<BaseBox
184184
v-show="visibility[nodeIndex].show"
185-
class="box --button --bdr-solid --bgColor-none"
185+
:theme="theme || themeValues"
186+
transparent
187+
button
188+
solid
186189
>
187190
<slot
188191
v-bind="{
@@ -194,7 +197,7 @@
194197
show: visibility[nodeIndex].show,
195198
}"
196199
></slot>
197-
</div>
200+
</BaseBox>
198201
</td>
199202
</tr>
200203
<!-- Row children actions (Acts as a divider of rows when children are hidden) -->
@@ -277,6 +280,7 @@
277280
import InputToggle from "../input/Toggle.vue";
278281
import ValueComplex from "../value/Complex.vue";
279282
import Dropdown from "../dropdown/Simple.vue";
283+
import BaseBox from "../base/Box.vue";
280284
281285
import type { iTableChildProps } from "../../types/props";
282286
import useTheme from "../../composables/theme";

0 commit comments

Comments
 (0)