From 824557b79b2fb015369b264b93c126d79d30c2e6 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Tue, 20 Feb 2024 17:23:11 +0000 Subject: [PATCH] Revert "Interpolate contents of `calc()` for LibSass" This reverts commit 04d15a043d7e543f046edbf7fe432b239af34dec. --- .../govuk-frontend/src/govuk/components/checkboxes/_index.scss | 2 +- packages/govuk-frontend/src/govuk/components/radios/_index.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/govuk-frontend/src/govuk/components/checkboxes/_index.scss b/packages/govuk-frontend/src/govuk/components/checkboxes/_index.scss index 700ccb03f5..87ee48fb6a 100644 --- a/packages/govuk-frontend/src/govuk/components/checkboxes/_index.scss +++ b/packages/govuk-frontend/src/govuk/components/checkboxes/_index.scss @@ -41,7 +41,7 @@ // container minus the input width minus the padding on either side of // the label. This prevents the label from going onto the next line due to // __item using flex-wrap because we want hints on a separate line. - max-width: calc(100% - #{(($govuk-checkboxes-label-padding-left-right * 2) + $govuk-touch-target-size)}); + max-width: calc(100% - (($govuk-checkboxes-label-padding-left-right * 2) + $govuk-touch-target-size)); margin-bottom: 0; padding: (govuk-spacing(1) + $govuk-border-width-form-element) govuk-spacing(3); cursor: pointer; diff --git a/packages/govuk-frontend/src/govuk/components/radios/_index.scss b/packages/govuk-frontend/src/govuk/components/radios/_index.scss index a13fced374..df91759b0b 100644 --- a/packages/govuk-frontend/src/govuk/components/radios/_index.scss +++ b/packages/govuk-frontend/src/govuk/components/radios/_index.scss @@ -43,7 +43,7 @@ // container minus the input width minus the padding on either side of // the label. This prevents the label from going onto the next line due to // __item using flex-wrap because we want hints on a separate line - max-width: calc(100% - #{($govuk-radios-label-padding-left-right + $govuk-touch-target-size + govuk-spacing(3))}); + max-width: calc(100% - ($govuk-radios-label-padding-left-right + $govuk-touch-target-size + govuk-spacing(3))); margin-bottom: 0; padding: (govuk-spacing(1) + $govuk-border-width-form-element) govuk-spacing(3); cursor: pointer;