mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 16:54:03 -04:00
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:
@@ -1,5 +1,5 @@
|
|||||||
$border-thickness: 9px;
|
$border-thickness: 4px;
|
||||||
$top-spacing: $gutter + 5px;
|
$top-spacing: $gutter - 5px;
|
||||||
|
|
||||||
.multiple-choice {
|
.multiple-choice {
|
||||||
|
|
||||||
@@ -17,8 +17,8 @@ $top-spacing: $gutter + 5px;
|
|||||||
|
|
||||||
&-panel {
|
&-panel {
|
||||||
border-left: $border-thickness solid $border-colour;
|
border-left: $border-thickness solid $border-colour;
|
||||||
margin: 0 0 (-$top-spacing - $gutter) $gutter-half;
|
margin: 0 0 (-$top-spacing - $gutter) ($gutter-half + ($border-thickness / 2));
|
||||||
padding: $top-spacing 0 0 ($gutter - 3px);
|
padding: $top-spacing 0 0 ($gutter - ($border-thickness / 2));
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -$top-spacing;
|
top: -$top-spacing;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user