您是否知道如何修复第一列并在 Angular Material 的 mat-table 中使用水平滚动?
我将非常感谢您的帮助。

我想对下面的代码进行一些更改......不幸的是它不起作用:(你能告诉我我需要添加什么到我的代码中吗?
// Standard style from Angular Material
.mat-toolbar-row, .mat-toolbar-single-row {
display: flex;
box-sizing: border-box;
padding: 0 16px;
width: 100%;
flex-direction: row;
align-items: center;
white-space: nowrap;
}
Run Code Online (Sandbox Code Playgroud)
// My Code
/deep/ .mat-toolbar-row, .mat-toolbar-single-row {
padding: 0 5px !important;
}
Run Code Online (Sandbox Code Playgroud)