Skip to content

Commit

Permalink
fix double borders
Browse files Browse the repository at this point in the history
  • Loading branch information
rushatgabhane committed Oct 31, 2023
1 parent 1a17f6e commit eb47a69
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/_sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ html {
}

table {
border-collapse: separate;
margin-bottom: 20px;
border-spacing: 0;
border-collapse: collapse;
border-radius: 8px;

// Box shadow is used here because border-radius and border-collapse don't work together. It leads to double borders.
// https://stackoverflow.com/questions/628301/the-border-radius-property-and-border-collapsecollapse-dont-mix-how-can-i-use
border-style: hidden;
box-shadow: 0 0 0 1px $color-green-borders;
}

th:first-child {
Expand Down

0 comments on commit eb47a69

Please sign in to comment.