Skip to content

Commit

Permalink
Update: Updated RTL styling (fixes #78) #79
Browse files Browse the repository at this point in the history
  • Loading branch information
guywillis authored Dec 15, 2023
1 parent 17e1484 commit 794b36a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions less/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
flex-direction: column;
}
}

&__container.has-columns &-item,
&__container:not(.has-columns) &-item:not(:last-child) {
margin-bottom: @item-margin * 2;
Expand Down Expand Up @@ -168,12 +168,7 @@
// List with image
// --------------------------------------------------
&__image-container {
padding-right: @item-padding;

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

// Ordered / unordered list bullet
Expand Down

0 comments on commit 794b36a

Please sign in to comment.