Style of conditional radios to match design system

Updated thickness of border and spacing to match
https://design-system.service.gov.uk/components/radios/#conditionally-revealing-content
This commit is contained in:
Chris Hill-Scott
2018-06-27 13:01:05 +01:00
parent 6452676b54
commit 2855cf45c7

View File

@@ -1,5 +1,5 @@
$border-thickness: 9px;
$top-spacing: $gutter + 5px;
$border-thickness: 4px;
$top-spacing: $gutter - 5px;
.multiple-choice {
@@ -17,8 +17,8 @@ $top-spacing: $gutter + 5px;
&-panel {
border-left: $border-thickness solid $border-colour;
margin: 0 0 (-$top-spacing - $gutter) $gutter-half;
padding: $top-spacing 0 0 ($gutter - 3px);
margin: 0 0 (-$top-spacing - $gutter) ($gutter-half + ($border-thickness / 2));
padding: $top-spacing 0 0 ($gutter - ($border-thickness / 2));
position: relative;
top: -$top-spacing;
z-index: 1;