Issue
I am trying to make the mat-table
border as round. But it is not working. Tried this-
table {
width: 100%;
border-collapse: collapse;
border-radius: 1em;
}
How to achieve this?
Solution
the problem is that you need over-ride the background-color of mat-table:
.mat-table
{
background-color:transparent!important;
}
table {
width: 100%;
border-collapse: collapse;
border-radius: 5em;
}
table tr:last-child td /*To remove the last border*/
{
border-bottom:0 solid
}
Answered By - Eliseo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.