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

mj-table - support the default unset width #2906

Open
bladeSk opened this issue Oct 1, 2024 · 1 comment
Open

mj-table - support the default unset width #2906

bladeSk opened this issue Oct 1, 2024 · 1 comment
Labels

Comments

@bladeSk
Copy link

bladeSk commented Oct 1, 2024

Is your feature request related to a problem? Please describe.
<mj-table> can't be used without setting an explicit width in px or %. That means html table's default behavior of fitting the content can't he used without hacks. It would be useful to have an option to unset the width and use the default behavior.

Describe the solution you'd like
Support unsetting the width or setting it to auto, ie. <mj-table width=""> or <mj-table width="auto">.
While you can do this now, it produces errors and sets the width to NaN.

@iRyusa iRyusa added the Beginner label Oct 1, 2024
@iRyusa
Copy link
Member

iRyusa commented Oct 1, 2024

Hi,

This should be easy to fix 👍

You can also use a plain html table in mj-text for now

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

No branches or pull requests

2 participants