Skip to content

Commit c423600

Browse files
committed
Reduce padding-right on compact tables
1 parent c47b104 commit c423600

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/nhsuk-frontend/src/nhsuk/components/tables/_index.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
.nhsuk-table--compact {
6060
th,
6161
td {
62+
padding-right: nhsuk-spacing(3);
6263
@include nhsuk-responsive-padding(2, ("top", "bottom"));
6364
}
6465
}

packages/nhsuk-frontend/src/nhsuk/core/elements/_table.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ td {
4949
@include nhsuk-responsive-padding(4, "right");
5050

5151
&:last-child {
52-
padding-right: 0;
52+
padding-right: 0 !important;
5353
}
5454
}
5555

0 commit comments

Comments
 (0)