Skip to content

Commit

Permalink
Move chevron to the right of the accordion header
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Feb 4, 2025
1 parent 7846f4d commit 7777fcc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
position: absolute;
width: govuk-px-to-rem(14px);
top: govuk-px-to-rem(31px);
left: govuk-px-to-rem(11px);
right: govuk-px-to-rem(25px);
transform-origin: bottom right;
transform: rotate(45deg);
}
Expand All @@ -127,7 +127,7 @@
position: absolute;
width: govuk-px-to-rem(14px);
top: govuk-px-to-rem(31px);
left: govuk-px-to-rem(25px);
right: govuk-px-to-rem(11px);
transform-origin: bottom left;
transform: rotate(-45deg);
}
Expand All @@ -139,11 +139,11 @@

flex-grow: 0;
margin: 0;
margin-left: govuk-spacing(6);
}

&-status {
flex-grow: 0;
margin-right: govuk-spacing(6) + 4px;
}

&-block {
Expand Down Expand Up @@ -189,14 +189,14 @@
& > button {
&:before {
top: govuk-px-to-rem(21px);
left: govuk-px-to-rem(11px);
right: govuk-px-to-rem(25px);
transform-origin: top right;
transform: rotate(-45deg);
}

&:after {
top: govuk-px-to-rem(21px);
left: govuk-px-to-rem(25px);
right: govuk-px-to-rem(11px);
transform-origin: top left;
transform: rotate(45deg);
}
Expand Down

0 comments on commit 7777fcc

Please sign in to comment.