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

Adjusting the width of a specific TD #89

Open
Vichondrias1 opened this issue Feb 7, 2024 · 2 comments
Open

Adjusting the width of a specific TD #89

Vichondrias1 opened this issue Feb 7, 2024 · 2 comments

Comments

@Vichondrias1
Copy link

i tried adjusting the width of this td inline to see if it changes but it doesnt, can you please help me with this. thanks in advance
image

@Vichondrias1
Copy link
Author

also this example, i want the header to be vertically align not collapse so i want also to adjust its width
image

@vincjo
Copy link
Owner

vincjo commented Jun 5, 2024

Sorry for the late response.

I used to set style directly in the markup for specific requirements, especialy for column sizing:

<tbody>
    <tr>
      <td style:min-width="400px">{row.smth}</td>
[...]

Or with table :global(th) CSS selector.

The ideal way would be to create your own Th component, and add a width property.
I will think about adding it in a future version.

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

No branches or pull requests

2 participants