Skip to content

Commit

Permalink
Fix max height on PaginatedTable component (#2302)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurakwhit authored Sep 3, 2024
1 parent 7817cdb commit e269ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/holocene/table/paginated-table/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div
class="paginated-table-wrapper {variant}"
bind:this={tableContainer}
style="max-height: {maxHeight ?? `calc(100vh - ${tableOffset}px)`}"
style="max-height: {maxHeight || `calc(100vh - ${tableOffset}px)`}"
>
<table class="paginated-table">
<slot name="caption" />
Expand All @@ -45,7 +45,7 @@

<style lang="postcss">
.paginated-table-wrapper {
@apply surface-primary max-h-none min-h-[154px] overflow-auto;
@apply surface-primary min-h-[154px] overflow-auto;
}
.primary {
Expand Down

0 comments on commit e269ec8

Please sign in to comment.