Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Commit

Permalink
Improve table style
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Mar 24, 2021
1 parent 117ba73 commit f159037
Showing 1 changed file with 26 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,23 +208,28 @@ class TableVisualization extends Visualization {
font-size: 12px;
}
table tr:first-child th:first-child,
table tr:first-child td:first-child {
table {
border-spacing: 1px;
padding: 1px;
}
table > tbody > tr:first-child > th:first-child,
table > tbody > tr:first-child > td:first-child {
border-top-left-radius: 9px;
}
table tr:first-child th:last-child,
table tr:first-child td:last-child {
table > tbody > tr:first-child > th:last-child,
table > tbody > tr:first-child > td:last-child {
border-top-right-radius: 9px;
}
table tr:last-child th:first-child,
table tr:last-child td:first-child {
table > tbody > tr:last-child > th:first-child,
table > tbody > tr:last-child > td:first-child {
border-bottom-left-radius: 9px;
}
table tr:last-child th:last-child,
table tr:last-child td:last-child {
table > tbody > tr:last-child > th:last-child,
table > tbody > tr:last-child > td:last-child {
border-bottom-right-radius: 9px;
}
Expand Down Expand Up @@ -271,23 +276,28 @@ class TableVisualization extends Visualization {
font-size: 12px;
}
table tr:first-child th:first-child,
table tr:first-child td:first-child {
table {
border-spacing: 1px;
padding: 1px;
}
table > tbody > tr:first-child > th:first-child,
table > tbody > tr:first-child > td:first-child {
border-top-left-radius: 9px;
}
table tr:first-child th:last-child,
table tr:first-child td:last-child {
table > tbody > tr:first-child > th:last-child,
table > tbody > tr:first-child > td:last-child {
border-top-right-radius: 9px;
}
table tr:last-child th:first-child,
table tr:last-child td:first-child {
table > tbody > tr:last-child > th:first-child,
table > tbody > tr:last-child > td:first-child {
border-bottom-left-radius: 9px;
}
table tr:last-child th:last-child,
table tr:last-child td:last-child {
table > tbody > tr:last-child > th:last-child,
table > tbody > tr:last-child > td:last-child {
border-bottom-right-radius: 9px;
}
Expand Down

0 comments on commit f159037

Please sign in to comment.