Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Min wiidth of a column in a table component is 80px. Is there any way to make it smaller? #15259

Closed
neojigi opened this issue Dec 29, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@neojigi
Copy link

neojigi commented Dec 29, 2024

When I have a large number of columns and I want to display them all on one screen without scrolling left and right, I have a lot of trouble because of the width min value limitation.

I know there is a great plugin called SuperTable. But it has some bugs that make me reluctant to use it.

Is there any way to make the size of each column smaller in the main table component with css or something? (I'm a beginner in programming)

@neojigi neojigi added the enhancement New feature or request label Dec 29, 2024
@aptkingston
Copy link
Member

What sort of width are you trying to use? We can definitely shrink the minimum a bit.

@neojigi
Copy link
Author

neojigi commented Dec 30, 2024

The initial width in the column settings (gear icon) of the table component does not go below 80px.

Furthermore, when I try to manually adjust the column width of the table on the preview screen or the published screen, I cannot reduce it further than the 80px.

So I thought maybe the minimum column width is set to an absolute value.

Am I doing something wrong? T.T

@aptkingston
Copy link
Member

I've opened a PR (linked above) to shrink the minimum width from 80 to 56px. That's really the minimum before we can't even fit in the required icons any more. Hope that helps!

@neojigi
Copy link
Author

neojigi commented Dec 30, 2024

This will be a great help! Happy New Year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants