Scrollbar of table is too high when the table is in a dialog with other elements embedded.
Look at the examples under the following link: https://stackblitz.com/edit/primeng-tablescroll-dialog?file=src/app/app.component.ts
Does anyone have any idea how this can be corrected.
Wrong:
Should be like:
To remove the outside scrollbar you can add to your
styles.css
the following:If you would of used
.scss
instead of.css
you would be able to do the same in the local component (which in your case is theapp.component.scss
) rather than styling in thestyles.css
by doing it as follows: