Skip to content

Commit

Permalink
fix: flex for sticky first column (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomarr authored Oct 22, 2024
1 parent 10a962a commit 4366e86
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/DataTable/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
>
<div
v-bind="options.isVirtualised ? wrapperProps : {}"
:class="options.isVirtualised ? 'h-full flex' : 'w-full'"
:class="[
options.isVirtualised ? 'h-full flex' : 'w-full',
options.firstColumnSticky && 'flex',
]"
>
<div
v-if="options.firstColumnSticky"
Expand Down

0 comments on commit 4366e86

Please sign in to comment.