From 1354de838956523d0463dcf7ee409b9b6261f7dd Mon Sep 17 00:00:00 2001 From: kirsty-hames Date: Mon, 22 Jan 2024 16:26:24 +0000 Subject: [PATCH] Only set .drawer__item-title margin if followed by .drawer__item-body (#487) --- less/core/drawerItem.less | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/less/core/drawerItem.less b/less/core/drawerItem.less index 83e718ba..b0445eba 100644 --- a/less/core/drawerItem.less +++ b/less/core/drawerItem.less @@ -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;