Skip to content

Commit

Permalink
Merge pull request #2470 from alphagov/review-govspeak-table-component
Browse files Browse the repository at this point in the history
Update govspeak table styles
  • Loading branch information
maxgds authored Dec 9, 2021
2 parents 278f4ff + 44399c2 commit b3a3a6c
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
margin: govuk-spacing(6) 0;
overflow-x: auto;
width: 100%;
@include govuk-font($size: 14);
@include govuk-font($size: 19);

caption {
text-align: left;
Expand All @@ -24,12 +24,16 @@
th,
td {
vertical-align: top;
padding: govuk-spacing(2) govuk-spacing(2) govuk-spacing(2) 0;
border-bottom: solid 1px govuk-colour("mid-grey", $legacy: "grey-2");
padding: govuk-spacing(2) govuk-spacing(4) govuk-spacing(2) 0;
border-bottom: 1px solid govuk-colour("mid-grey", $legacy: "grey-2");

&:last-child {
padding: govuk-spacing(2) 0 govuk-spacing(2) 0;
}
}

th {
@include govuk-font($size: 14, $weight: bold);
@include govuk-font($size: 19, $weight: bold);
text-align: left;
color: $govuk-text-colour;
}
Expand Down

0 comments on commit b3a3a6c

Please sign in to comment.