Skip to content

Commit be6d535

Browse files
Merge pull request #1306 from nhsuk/grid-changelog
Clarify changelog “Replace Sass mixins for grids” `$class`
2 parents 9504044 + b8de466 commit be6d535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If you are overriding any settings prefixed with `$mq-` in your application you
142142

143143
#### Replace Sass mixins for grids
144144

145-
If you're using the `govuk-grid-column()` Sass mixin to create custom grid classes, you must replace it with the `nhsuk-grid-column()` mixin and remove the `$class` parameter.
145+
If you're using the `govuk-grid-column()` Sass mixin to create custom grid classes, you must replace it with the `nhsuk-grid-column()` mixin and set the `$class` parameter to `false`.
146146

147147
Before:
148148

@@ -158,7 +158,7 @@ After:
158158

159159
```scss
160160
.app-grid-column-one-quarter-at-desktop {
161-
@include nhsuk-grid-column(one-quarter, $at: desktop);
161+
@include nhsuk-grid-column(one-quarter, $at: desktop, $class: false);
162162
}
163163
```
164164

0 commit comments

Comments
 (0)