我是Angular Material的新手 . 有没有办法覆盖材质表中的mat-header-arrow . 我试图让mat-sort-header-container显示:none . 但遗憾的是它没有用 .
目前的行为:
预期行为:
任何帮助都非常感谢 .
谢谢
是的你可以 .
做一件事 . 将以下 CSS 代码添加到主样式表(非基于组件)
CSS
style.css
.mat-sort-header-stem { background: none; display: none!important; } .mat-sort-header-pointer-middle{ background: none; display: none!important; } .mat-sort-header-indicator{ top: 5px!important; }
Result :
1 回答
是的你可以 .
做一件事 . 将以下
CSS
代码添加到主样式表(非基于组件)style.css
Result :