mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
04ae1251c7
The supposedly visually hidden `mat-icon` creates unnecessary space at the bottom of the page (below the footer) in recent Chrome versions. This didn't happen before and it still doesn't happen in other browsers (Firefox, Edge, IE). This commit fixes it by wrapping the icon in a visually hidden `div` container, which doesn't have other styles (such as `mat-icon` does) that could affect the layout of the page. Fixes #28858 PR Close #28864