Skip to content

Commit

Permalink
item-list.less: Don't unset margin-right for :only-child
Browse files Browse the repository at this point in the history
RedundancyGroupListItem's title contain only one element. In this his case, the margin-right should not be unset.
  • Loading branch information
sukhwinder33445 committed Jan 20, 2025
1 parent 003c51b commit 3b53b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asset/css/list/item-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
margin-left: 0;
}

&:last-child {
&:last-child:not(:only-child) {
margin-right: 0;
}
}
Expand Down

0 comments on commit 3b53b3d

Please sign in to comment.