mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-14 02:09:44 -04:00
Replaced `$gutter` and similar variables such as `$gutter-half` with the `govuk-spacing()` static spacing function. This uses `govuk-spacing()` instead of `$govuk-gutter` because `$govuk-gutter` should only be used for the gaps in between grid columns and we were mostly using `$gutter` to add more space around elements. There are other places in the SCSS files where we had hardcoded a measurement in px which could be replaced with `govuk-spacing`, but this commit only replaces the existing uses of `$gutter`.
42 lines
695 B
SCSS
42 lines
695 B
SCSS
$item-top-padding: govuk-spacing(3);
|
|
|
|
.user-list {
|
|
|
|
@include core-19;
|
|
margin-bottom: govuk-spacing(6);
|
|
|
|
&-item {
|
|
|
|
padding: $item-top-padding 150px govuk-spacing(3) 0;
|
|
border-top: 1px solid $border-colour;
|
|
position: relative;
|
|
|
|
h3 {
|
|
|
|
padding-right: govuk-spacing(3);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
color: $secondary-text-colour; // So the ellipsis is grey
|
|
|
|
.heading-small {
|
|
color: $black;
|
|
}
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
border-bottom: 1px solid $border-colour;
|
|
}
|
|
|
|
}
|
|
|
|
&-edit-link {
|
|
text-align: right;
|
|
position: absolute;
|
|
top: $item-top-padding;
|
|
right: 0px;
|
|
}
|
|
|
|
}
|