mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Add left padding to nested radios
This makes them align horizontally with the label of their parent, so that the layout is a bit calmer.
This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
$circle-diameter: 39px;
|
$circle-diameter: 39px;
|
||||||
$border-thickness: 4px;
|
$border-thickness: 4px;
|
||||||
$border-indent: ($circle-diameter / 2) - ($border-thickness / 2);
|
$border-indent: ($circle-diameter / 2) - ($border-thickness / 2);
|
||||||
|
$border-colour: $border-colour;
|
||||||
|
|
||||||
float: none;
|
float: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -95,6 +96,7 @@
|
|||||||
// the radio
|
// the radio
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
margin-bottom: -5px;
|
margin-bottom: -5px;
|
||||||
|
padding-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.block-label-hint {
|
.block-label-hint {
|
||||||
@@ -103,7 +105,7 @@
|
|||||||
// hint so that it extends all the way down to the next radio
|
// hint so that it extends all the way down to the next radio
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: -5px;
|
top: $circle-diameter + 5px;
|
||||||
left: $border-indent;
|
left: $border-indent;
|
||||||
width: $border-thickness;
|
width: $border-thickness;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
|
|||||||
Reference in New Issue
Block a user