Skip to content

Commit

Permalink
Merge pull request #26 from solo-io/table-fix
Browse files Browse the repository at this point in the history
Update table shortcode
  • Loading branch information
Nadine2016 committed Jun 28, 2024
2 parents d5ffb22 + bfb81b7 commit b184ccf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions assets/docs/scss/custom/components/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

// Default Table
table {

td {
border-top: 1px solid var(--card-border-color);
}
Expand All @@ -35,7 +36,7 @@ table {
--bs-table-hover-bg: var(--table-hover-bg);

color: var(--text-default);
font-size: 0.875rem;
font-size: 1rem;
border-collapse: separate;
border-spacing: 0;

Expand All @@ -50,11 +51,17 @@ table {
td {
border-top: inherit;
border-bottom-width: 1px;
word-wrap: break-word;
word-break: break-word;
white-space: normal;
}

td:first-child {
white-space: nowrap;
border-left-width: 1px;
}
td:nth-child(2) {
white-space: nowrap;
}

td:last-child {
border-right: inherit;
Expand Down Expand Up @@ -153,4 +160,4 @@ table {
display: block;
width: 100%;
overflow-x: auto;
}
}

0 comments on commit b184ccf

Please sign in to comment.