Angular 如何在材质表5中创建自定义箭头
我不熟悉棱角材料。是否有任何方法可以替代材质表中的垫头箭头。我已尝试使mat sort header容器显示:无。但不幸的是,它没有起作用Angular 如何在材质表5中创建自定义箭头,angular,angular-material2,Angular,Angular Material2,我不熟悉棱角材料。是否有任何方法可以替代材质表中的垫头箭头。我已尝试使mat sort header容器显示:无。但不幸的是,它没有起作用 当前行为: 预期行为: 非常感谢您的帮助 谢谢是的,你可以 做一件事。将以下CSS代码添加到主样式表中(不基于组件) style.css .mat-sort-header-stem { background: none; display: none!important; } .mat-sort-header-pointer-middle{
当前行为: 预期行为: 非常感谢您的帮助 谢谢是的,你可以 做一件事。将以下
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;
}
结果:
它正在工作。谢谢我们可以用一些不同的图标来代替插入符号吗?它们没有使用任何特定的图标,它的
带有背景色。所以我认为我们不能使用任何其他字体。