Skip to content

Commit 976bbfa

Browse files
committed
reduce row padding on mobile
1 parent c423600 commit 976bbfa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • packages/nhsuk-frontend/src/nhsuk/components/tables

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@
6060
th,
6161
td {
6262
padding-right: nhsuk-spacing(3);
63-
@include nhsuk-responsive-padding(2, ("top", "bottom"));
63+
@include nhsuk-responsive-padding(1, ("top", "bottom"));
64+
65+
@media #{nhsuk-from-breakpoint(tablet)} {
66+
@include nhsuk-responsive-padding(2, ("top", "bottom"));
67+
}
6468
}
6569
}
6670

0 commit comments

Comments
 (0)