Skip to content

Commit

Permalink
Update: RTL styling (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
guywillis authored Dec 19, 2023
1 parent 78ff072 commit e633110
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 e633110

Please sign in to comment.