Skip to content

Commit

Permalink
8394 df hidden items (#8763)
Browse files Browse the repository at this point in the history
* fix bug

* fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
pngwn and gradio-pr-bot committed Jul 12, 2024
1 parent 5e36144 commit c1ecfde
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/heavy-monkeys-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/dataframe": patch
"gradio": patch
---

fix:8394 df hidden items
6 changes: 6 additions & 0 deletions js/dataframe/shared/Example.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
</tr>
{/if}
</table>

<style>
table {
border-collapse: separate;
}
</style>
4 changes: 4 additions & 0 deletions js/dataframe/shared/Table.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1054,4 +1054,8 @@
.row_odd.focus {
background: var(--background-fill-primary);
}
table {
border-collapse: separate;
}
</style>
1 change: 1 addition & 0 deletions js/dataframe/shared/VirtualTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@
border-spacing: 0;
width: 100%;
scroll-snap-type: x proximity;
border-collapse: separate;
}
table :is(thead, tfoot, tbody) {
display: table;
Expand Down

0 comments on commit c1ecfde

Please sign in to comment.