Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scss/_patterns_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
font-size: inherit;
justify-content: flex-start;
margin-bottom: 0;
// padding-left creates consistent indentation for ALL lines of wrapped text
padding-left: $icon-size + $sph--large;
padding-right: $sph--large;
position: relative;
text-align: left;
Expand All @@ -37,7 +39,9 @@
@include vf-transition($property: transform, $duration: fast);

content: '';
margin-right: $sph--large;
// position the chevron absolutely in the padding area so it doesn't push text inline
left: 0;
position: absolute;
}

// aria-selected controls the open and closed state for the accordion tab
Expand Down