Skip to content

Commit 58adb89

Browse files
Fix Sass deprecations
1 parent bd2bfb1 commit 58adb89

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/components/tables/_index.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@
3838
}
3939

4040
figcaption {
41+
text-align: left;
42+
4143
// [5]
4244
@include nhsuk-font($size: 22, $weight: bold);
43-
text-align: left;
4445
}
4546

4647
.nhsuk-table__row {
@@ -176,7 +177,7 @@
176177
}
177178
}
178179

179-
@include mq($until: desktop) {
180+
@include nhsuk-media-query($until: desktop) {
180181
// [3]
181182
.nhsuk-table__list-view-container,
182183
.nhsuk-table__list-view-container .nhsuk-table__row {
@@ -188,7 +189,7 @@
188189
}
189190
}
190191

191-
@include mq($from: desktop) {
192+
@include nhsuk-media-query($from: desktop) {
192193
// [4]
193194
.nhsuk-table__list-view-container,
194195
.nhsuk-table__list-view-container .nhsuk-table__row {

0 commit comments

Comments
 (0)