Skip to content

Commit dedfb41

Browse files
committed
New feature - VueUiCarouselTable - Added new component
1 parent ab38c17 commit dedfb41

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/components/vue-ui-carousel-table.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ defineExpose({
241241
</script>
242242

243243
<template>
244-
<div style="position:relative" ref="chartContainer">
244+
<div style="position:relative; overflow:visible;" ref="chartContainer">
245245
<div
246246
ref="tableContainer"
247247
:id="`carousel-table_${uid}`"
@@ -268,7 +268,6 @@ defineExpose({
268268
<caption
269269
ref="caption"
270270
class="vue-data-ui-carousel-table-caption"
271-
v-if="FINAL_CONFIG.caption.text || $slots.caption"
272271
:style="{
273272
...FINAL_CONFIG.caption.style,
274273
fontFamily: 'inherit',
@@ -279,7 +278,8 @@ defineExpose({
279278
paddingRight: FINAL_CONFIG.caption.padding.right + 'px',
280279
paddingBottom: FINAL_CONFIG.caption.padding.bottom +'px',
281280
paddingLeft: FINAL_CONFIG.caption.padding.left + 'px',
282-
boxShadow: isResponsive ? FINAL_CONFIG.thead.tr.style.boxShadow : 'none'
281+
boxShadow: isResponsive ? FINAL_CONFIG.thead.tr.style.boxShadow : 'none',
282+
minHeight: '36px'
283283
}">
284284
{{ FINAL_CONFIG.caption.text && !$slots.caption ? FINAL_CONFIG.caption.text : '' }}
285285
<slot name="caption"/>
@@ -320,8 +320,7 @@ defineExpose({
320320
v-for="(tr, i) in dataset.body"
321321
:style="{
322322
...FINAL_CONFIG.tbody.tr.style,
323-
border: `${FINAL_CONFIG.tbody.tr.border.size}px solid ${FINAL_CONFIG.tbody.tr.border.color}`,
324-
zIndex: 0,
323+
border: `${FINAL_CONFIG.tbody.tr.border.size}px solid ${FINAL_CONFIG.tbody.tr.border.color}`
325324
}"
326325
>
327326
<td

0 commit comments

Comments
 (0)