Skip to content

Commit 34885d2

Browse files
committed
feat(hierarchicalMenu): Adding indentation with default theme
BREAKING CHANGE: Hierarchical menu levels 1 and 2 now have a margin-left added in the default theme.
1 parent 056153c commit 34885d2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

css/default/_hierarchical-menu.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
}
1616
@include element(lvl1) {
1717
/* item list level 1 */
18+
margin-left: 10px;
19+
}
20+
@include element(lvl2) {
21+
/* item list level 0 */
22+
margin-left: 10px;
1823
}
1924
}
2025

dev/style.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ body {
9898

9999
.hierarchical-categories-list .hierarchical-categories-list {
100100
border-left: 2px solid #eee;
101-
margin-left: 10px;
102101
padding-left: 10px;
103102
}
104103

0 commit comments

Comments
 (0)