diff --git a/ui_framework/components/menu/_menu.scss b/ui_framework/components/menu/_menu.scss index 7a63a80ba23a4..362d4c8284586 100644 --- a/ui_framework/components/menu/_menu.scss +++ b/ui_framework/components/menu/_menu.scss @@ -1,3 +1,10 @@ +/** + * 1. Allow class to be applied to `ul` and `ol` elements + */ +.kuiMenu { + padding-left: 0; /* 1 */ +} + .kuiMenu--contained { border: $globalBorderThin; @@ -6,7 +13,11 @@ } } +/** + * 1. Allow class to be applied to `li` elements + */ .kuiMenuItem { + list-style: none; /* 1 */ padding: 6px 0; & + & { diff --git a/ui_framework/dist/ui_framework.css b/ui_framework/dist/ui_framework.css index 481a363bf18d5..9177af2f54c67 100644 --- a/ui_framework/dist/ui_framework.css +++ b/ui_framework/dist/ui_framework.css @@ -2016,12 +2016,22 @@ body { font-size: 14px; font-weight: bold; } +/** + * 1. Allow class to be applied to `ul` and `ol` elements + * 2. Allow class to be applied to `li` elements + */ +.kuiMenu { + padding-left: 0; + /* 1 */ } + .kuiMenu--contained { border: 1px solid #E4E4E4; } .kuiMenu--contained .kuiMenuItem { padding: 6px 10px; } .kuiMenuItem { + list-style: none; + /* 2 */ padding: 6px 0; } .kuiMenuItem + .kuiMenuItem { border-top: 1px solid #E4E4E4; } diff --git a/ui_framework/doc_site/src/views/event/events_sandbox.html b/ui_framework/doc_site/src/views/event/events_sandbox.html index 22b7eb68d6360..750f34039e19b 100644 --- a/ui_framework/doc_site/src/views/event/events_sandbox.html +++ b/ui_framework/doc_site/src/views/event/events_sandbox.html @@ -17,8 +17,8 @@
Item A
-Item B
-Item C
-Item A
-Item B
-Item C
-