Skip to content

Commit

Permalink
Update multiselect checkbox styling to better handle both wide(r) tab…
Browse files Browse the repository at this point in the history
…les and tall(er) rows.
  • Loading branch information
collincchoy committed Mar 22, 2024
1 parent f2eb160 commit b1303a4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/components/Table/PTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<slot name="header">
<PTableRow>
<template v-if="showMultiselect">
<PTableData class="p-table__checkbox-cell">
<PTableHeader class="p-table__checkbox-cell">
<PSelectAllCheckbox v-model="internalSelectedRows" :selectable="selectableRows" />
</PTableData>
</PTableHeader>
</template>

<template v-for="column in visibleColumns" :key="column">
Expand Down Expand Up @@ -186,10 +186,6 @@
}
.p-table__checkbox-cell { @apply
flex
justify-center
items-center
pl-2
pr-0
w-5
}
</style>

0 comments on commit b1303a4

Please sign in to comment.