angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.14k stars 6.67k forks source link

bug(mat-sort-header) 'mat-sort-header' adds white space at the bottom of the page #28859

Closed hanlingczhong closed 1 month ago

hanlingczhong commented 1 month ago

Description

I have used toolbar and sidebar for the navigation. And in the sidebar-content I have the 'router-outlet'.

Now on one of the pages, I use the Material Table there. The table itself works fine but if I add the mat-sort-header to the header th, it will create white space at the bottom of the page for some reason. And I don't think this is a style issue as it only appears if I use 'mat-sort-header'. Other things like pagination/filtering don't create this white space.

image

Does anyone experience the same issue?

Environment

crisbeto commented 1 month ago

Your theme is likely missing the mat.core mixin.

hanlingczhong commented 1 month ago

Your theme is likely missing the mat.core mixin.

Thank you this is the issue.

angular-automatic-lock-bot[bot] commented 2 weeks ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.