Skip to content

Commit

Permalink
quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beliolfa committed Nov 8, 2024
1 parent 536aa2e commit 44ed719
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@invopop/popui",
"license": "MIT",
"version": "0.0.33",
"version": "0.0.34",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
Expand Down
4 changes: 3 additions & 1 deletion svelte/lib/BaseTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@
{/each}
{#if addExtraCell}
<!-- if table has actions cell we need to add an extra header -->
<th scope="col" class="bg-white sticky top-0 z-10 rounded-tr-md" />
<th scope="col" class="bg-white sticky top-0 z-10 rounded-tr-md">
<div class="border-b border-neutral-100 h-9" />
</th>
{/if}
</tr>
</thead>
Expand Down
4 changes: 2 additions & 2 deletions svelte/lib/BaseTableHeader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
})
$: headerStyles = clsx({
'justify-end': field.rightAlign,
'self-end': field.rightAlign,
'hover:bg-neutral-50 focus:bg-neutral-100': field.sortable,
'pl-5': isFirst && !selectable,
'pl-3': !isFirst,
Expand Down Expand Up @@ -49,7 +49,7 @@
slot="trigger"
class="{headerStyles} w-full py-2 flex items-center justify-start space-x-1 text-left text-base tracking-normal whitespace-nowrap font-normal"
>
<span>{field.headerLabel}</span>
<span class="min-h-5" />
{#if sortBy === field.slug}
<svg
viewBox="0 0 12 12"
Expand Down

0 comments on commit 44ed719

Please sign in to comment.