Skip to content

Commit

Permalink
fix arrow position
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Nov 17, 2023
1 parent fe89226 commit 660914e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/components/details/_details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@ $details-caret-width: 1.5rem;
&:focus {
outline: none;
}

&.ons-details--open {
.ons-svg-icon {
left: 0.4rem;
position: absolute;
top: 0.25rem;
}
}
}

&__title {
Expand Down Expand Up @@ -125,6 +117,13 @@ $details-caret-width: 1.5rem;
}
}

&--accordion.ons-details--open {
.ons-details__icon {
position: absolute;
top: 1.25rem;
}
}

&__icon {
display: none;
}
Expand Down
1 change: 1 addition & 0 deletions src/scss/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ p {
display: block;
}
}

&--accordion & {
&__heading {
padding-top: 1rem;
Expand Down

0 comments on commit 660914e

Please sign in to comment.