From 84fb2d29e5150420d0bf276fbbdb926cc8041e6f Mon Sep 17 00:00:00 2001 From: ShankyTiwari Date: Sun, 20 Dec 2020 10:56:17 +0530 Subject: [PATCH] bug: refactored CSS Submenu Padding --- .../list-item-content/list-item-content.component.css | 10 ++-------- .../src/lib/list-item/list-item.component.css | 8 ++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/projects/ng-material-multilevel-menu/src/lib/list-item/list-item-content/list-item-content.component.css b/projects/ng-material-multilevel-menu/src/lib/list-item/list-item-content/list-item-content.component.css index 3a5993d..2aed46f 100644 --- a/projects/ng-material-multilevel-menu/src/lib/list-item/list-item-content/list-item-content.component.css +++ b/projects/ng-material-multilevel-menu/src/lib/list-item/list-item-content/list-item-content.component.css @@ -50,16 +50,10 @@ display: flex; align-items: center; } + div[dir="ltr"] .amml-icon { margin-right: 16px; } -div[dir="ltr"].amml-submenu { - margin-left: 16px; -} - div[dir="rtl"] .amml-icon { margin-left: 16px; -} -div[dir="rtl"].amml-submenu { - margin-right: 16px; -} +} \ No newline at end of file diff --git a/projects/ng-material-multilevel-menu/src/lib/list-item/list-item.component.css b/projects/ng-material-multilevel-menu/src/lib/list-item/list-item.component.css index 1f1d1b0..45fda4c 100644 --- a/projects/ng-material-multilevel-menu/src/lib/list-item/list-item.component.css +++ b/projects/ng-material-multilevel-menu/src/lib/list-item/list-item.component.css @@ -1,3 +1,11 @@ .filled { width: 100%; } + +div[dir="rtl"].amml-submenu { + margin-right: 16px; +} + +div[dir="ltr"].amml-submenu { + margin-left: 16px; +}