Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Table rerender infinitely with non-zero padding for left and right #55

Closed
rajasegar opened this issue Jun 29, 2022 · 1 comment
Closed

Comments

@rajasegar
Copy link

If i set the following style for my td

td { text-align: center; padding: 4px 2px; }

the component is rerendering and goes on expading overflowing the page width
Screenshot 2022-06-29 at 4 19 15 PM

@MartinLee1987
Copy link

MartinLee1987 commented Jun 30, 2022

I am facing similar issues with infinite expansion. I suspect it is where the code attempts to keep headers of the columns (which are outside the table element) the same width as the cells in the columns. Try applying the same padding to "th" as well to see if it still occurs.

@vincjo vincjo closed this as completed Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants