Skip to content

Commit

Permalink
Only set .drawer__item-title margin if followed by .drawer__item-body (
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Jan 22, 2024
1 parent baaae97 commit 1354de8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions less/core/drawerItem.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@
}

&__item-title {
margin-bottom: @drawer-title-margin;
.drawer-item-title;
text-align: start;
}


&__item-title + &__item-body {
margin-top: @drawer-title-margin;
}

&__item-body {
margin-bottom: @drawer-body-margin;
.drawer-item-body;
Expand Down

0 comments on commit 1354de8

Please sign in to comment.