Files
notifications-admin/app/assets/stylesheets/components/list-entry.scss
T

40 lines
691 B
SCSS
Raw Normal View History

.input-list {
.list-entry {
vertical-align: middle;
margin-bottom: 15px;
position: relative;
// move the left border, signifying the error, out of the main column
.govuk-form-group--error {
margin-left: ($govuk-border-width + $govuk-gutter-half) * -1;
}
}
2020-02-05 17:22:52 +00:00
&__button--remove,
&__button--add {
width: auto;
}
&__button--remove {
display: block;
margin-bottom: 15px;
margin-top: 5px;
position: static;
overflow: hidden;
@include media(tablet) {
@include inline-block;
margin: 0 0 0 10px;
position: absolute;
top: 0;
left: 100%;
}
}
2020-02-05 17:22:52 +00:00
&__button--add {
margin: 0 0 20px 0;
}
}