We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
Hello 👋
It might be a duplicated issue, but I couldn't find the exact same in the previous ones....
I'd like to specify a max-width: 20% on a table column. However it does not seems work.
max-width: 20%
What I'm I missing ?
StackBlitz link: https://stackblitz.com/edit/eqepaugy-ht92gcfb?file=src%2Fexample%2Ftable-basic-example.html Steps to reproduce:
Being able to specify a max-width in % for some columns.
max-width
%
max-width in % on <table mat-table> columns are not taken into account.
<table mat-table>
The text was updated successfully, but these errors were encountered:
You can not apply style to ng-container.
ng-container
Sorry, something went wrong.
Good catch, it is a silly mistake I did creating the stackblitz example. I've updated it, but the question still remains.
It works with [style.width.%]="5" but not with [style.max-width.%]="5".
[style.width.%]="5"
[style.max-width.%]="5"
It's more of a CSS thing I believe, not related to Angular Material.
Do you mean it is not possible to set the max-width of a td element ? 🧐
td
https://stackblitz.com/edit/vitejs-vite-eeuq4ggj?file=src%2Fmain.js,src%2Fstyle.css
Oh mmhh ok didn't know about that
No branches or pull requests
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Hello 👋
It might be a duplicated issue, but I couldn't find the exact same in the previous ones....
I'd like to specify a
max-width: 20%
on a table column. However it does not seems work.What I'm I missing ?
Reproduction
StackBlitz link: https://stackblitz.com/edit/eqepaugy-ht92gcfb?file=src%2Fexample%2Ftable-basic-example.html
Steps to reproduce:
Expected Behavior
Being able to specify a
max-width
in%
for some columns.Actual Behavior
max-width
in%
on<table mat-table>
columns are not taken into account.Environment
The text was updated successfully, but these errors were encountered: