Skip to content

Commit

Permalink
Updated RTL styling
Browse files Browse the repository at this point in the history
  • Loading branch information
guywillis committed Dec 15, 2023
1 parent 78ff072 commit 72bfa12
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions less/accordion.less
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,15 @@
}

&.align-image-left &__image-container {
margin-right: @item-padding;

.dir-rtl & {
margin-right: inherit;
margin-left: @item-padding;
}
margin-inline-end: @item-padding;
}

&.align-image-right &__content-inner {
flex-direction: row;
}

&.align-image-right &__image-container {
margin-left: @item-padding;

.dir-rtl & {
margin-left: inherit;
margin-right: @item-padding;
}
margin-inline-start: @item-padding;
}
}
}

0 comments on commit 72bfa12

Please sign in to comment.