Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 仅在车身上滚动垫台_Css_Angular_Mat Table - Fatal编程技术网

Css 仅在车身上滚动垫台

Css 仅在车身上滚动垫台,css,angular,mat-table,Css,Angular,Mat Table,我想使用CSS只滚动垫子表体。我能看到卷轴,但桌子上的桌子乱七八糟。 卷轴在那里,但配置不正确 这是我用于tbody的代码。当我移除显示块时,它会恢复正常,但没有滚动条。 有没有办法解决这个问题 tbody { border-spacing: 0; height:78vh; overflow: auto; max-height: 85vh; display: block; border-top: 1

我想使用CSS只滚动垫子表体。我能看到卷轴,但桌子上的桌子乱七八糟。 卷轴在那里,但配置不正确

这是我用于tbody的代码。当我移除显示块时,它会恢复正常,但没有滚动条。 有没有办法解决这个问题

tbody {
        border-spacing: 0;
        height:78vh;
        overflow: auto;
        max-height: 85vh;
        display: block;
        border-top: 1px solid #dee2e6 !important;

    }