diff --git a/src/components/details/_details.scss b/src/components/details/_details.scss index 5117cd5763..3ffbd83393 100644 --- a/src/components/details/_details.scss +++ b/src/components/details/_details.scss @@ -94,7 +94,9 @@ $details-caret-width: 1.1rem; &__content { display: block; - padding: 1rem 0 0; + margin: 1rem 0 0 0; + padding: 0 0 0 1.3em; + border-left: 5px solid $color-grey-3; } } @@ -112,7 +114,10 @@ $details-caret-width: 1.1rem; &:before, &:after { - top: 1.45rem; + top: 1.1rem; + @include mq(s) { + top: 1.45rem; + } } &:focus { @@ -134,5 +139,10 @@ $details-caret-width: 1.1rem; align-self: flex-start; width: auto; } + &__content { + margin: 0; + border-left: 0; + padding: 0; + } } } diff --git a/src/components/details/_macro.njk b/src/components/details/_macro.njk index 13204b6f9a..56db1d855b 100644 --- a/src/components/details/_macro.njk +++ b/src/components/details/_macro.njk @@ -1,6 +1,5 @@ {% macro onsDetails(params) %} {% from "components/button/_macro.njk" import onsButton %} - {% from "components/text-indent/_macro.njk" import onsTextIndent %}
diff --git a/src/components/footer/_macro.njk b/src/components/footer/_macro.njk index cb1c4e261b..4a3717e438 100644 --- a/src/components/footer/_macro.njk +++ b/src/components/footer/_macro.njk @@ -35,7 +35,8 @@ "html": params.button.html, "name": params.button.name, "value": params.button.value, - "attributes": params.button.attributes + "attributes": params.button.attributes, + "url": params.button.url }) }} diff --git a/src/components/text-indent/_text-indent.scss b/src/components/text-indent/_text-indent.scss index fbf4a27049..f6180c9b36 100644 --- a/src/components/text-indent/_text-indent.scss +++ b/src/components/text-indent/_text-indent.scss @@ -1,5 +1,5 @@ .text-indent { margin: 0 0 1rem; - padding: 0 0 0 1.3em; + padding: 0 0 0 1em; border-left: 5px solid $color-grey-3; }