Skip to content

Commit 6dfad6c

Browse files
committed
Adjust styles
1 parent 491d127 commit 6dfad6c

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

scss/_components.dropdown.scss

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $dropdown-border-radius: $component-border-radius-md !default;
77
$dropdown-width-sm: 160px !default;
88
$dropdown-width-md: 200px !default;
99
$dropdown-width-lg: 280px !default;
10+
$dropdown-content-zIndex: $zIndex-1 !default;
1011

1112
.dropdown {
1213
position: relative;
@@ -31,6 +32,7 @@ $dropdown-width-lg: 280px !default;
3132
border-radius: $dropdown-border-radius;
3233
background-color: $dropdown-bg;
3334
box-shadow: $dropdown-shadow;
35+
z-index: $dropdown-content-zIndex;
3436

3537
> * {
3638
&:first-child {
@@ -43,25 +45,25 @@ $dropdown-width-lg: 280px !default;
4345
}
4446

4547
.dropdown--sm {
46-
.popover__content {
48+
.dropdown__content {
4749
width: $dropdown-width-sm;
4850
}
4951
}
5052

5153
.dropdown--lg {
52-
.popover__content {
54+
.dropdown__content {
5355
width: $dropdown-width-lg;
5456
}
5557
}
5658

5759
.dropdown--auto {
58-
.popover__content {
60+
.dropdown__content {
5961
width: auto;
6062
}
6163
}
6264

6365
.dropdown--bl {
64-
.popover__content {
66+
.dropdown__content {
6567
left: 0;
6668
top: 100%;
6769
right: auto;
@@ -71,7 +73,7 @@ $dropdown-width-lg: 280px !default;
7173
}
7274

7375
.dropdown--br {
74-
.popover__content {
76+
.dropdown__content {
7577
left: auto;
7678
top: 100%;
7779
right: 0;
@@ -81,7 +83,7 @@ $dropdown-width-lg: 280px !default;
8183
}
8284

8385
.dropdown--rt {
84-
.popover__content {
86+
.dropdown__content {
8587
left: 100%;
8688
top: 0;
8789
right: auto;
@@ -91,7 +93,7 @@ $dropdown-width-lg: 280px !default;
9193
}
9294

9395
.dropdown--rb {
94-
.popover__content {
96+
.dropdown__content {
9597
left: 100%;
9698
top: auto;
9799
right: auto;
@@ -101,7 +103,7 @@ $dropdown-width-lg: 280px !default;
101103
}
102104

103105
.dropdown--tl {
104-
.popover__content {
106+
.dropdown__content {
105107
left: 0;
106108
top: auto;
107109
right: auto;
@@ -111,7 +113,7 @@ $dropdown-width-lg: 280px !default;
111113
}
112114

113115
.dropdown--tr {
114-
.popover__content {
116+
.dropdown__content {
115117
left: auto;
116118
top: auto;
117119
right: 0;
@@ -121,7 +123,7 @@ $dropdown-width-lg: 280px !default;
121123
}
122124

123125
.dropdown--lt {
124-
.popover__content {
126+
.dropdown__content {
125127
left: auto;
126128
top: 0;
127129
right: 100%;
@@ -131,7 +133,7 @@ $dropdown-width-lg: 280px !default;
131133
}
132134

133135
.dropdown--lb {
134-
.popover__content {
136+
.dropdown__content {
135137
left: auto;
136138
top: auto;
137139
right: 100%;

scss/_layouts.level.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ $level-item-spacing: $spacing-stack-md !default;
6464
.level#{$suffix} {
6565
flex-direction: column;
6666
justify-content: center;
67-
67+
68+
.level__item:not(:last-child) {
69+
margin-bottom: $spacing-stack-sm;
70+
}
71+
6872
.level__start,
6973
.level__end,
7074
.level__center {

0 commit comments

Comments
 (0)