File tree Expand file tree Collapse file tree 1 file changed +23
-27
lines changed Expand file tree Collapse file tree 1 file changed +23
-27
lines changed Original file line number Diff line number Diff line change 17
17
.dropdown-menu {
18
18
position : absolute ;
19
19
top : 100% ;
20
- @include ltr {
21
- left : 0 ;
22
- }
23
- @include rtl {
24
- right : 0 ;
25
- }
20
+ // left: 0;
26
21
z-index : $zindex-dropdown ;
27
22
display : none ; // none by default, but block on "open" of the menu
28
23
float : left ;
48
43
@each $breakpoint in map-keys ($grid-breakpoints ) {
49
44
@include media-breakpoint-up ($breakpoint ) {
50
45
$infix : breakpoint-infix ($breakpoint , $grid-breakpoints );
51
- .c-header .dropdown-menu ,
52
- .navbar .dropdown-menu ,
53
- .dropdown-menu [data-display ^= " static" ] {
54
- & .dropdown-menu#{$infix } -left {
55
- @include ltr {
56
- right : auto ;
57
- left : 0 ;
58
- }
59
- @include rtl {
60
- right : 0 ;
61
- left : auto ;
62
- }
46
+
47
+ .c-header .dropdown-menu#{$infix } -left ,
48
+ .navbar .dropdown-menu#{$infix } -left ,
49
+ [data-display ^= " static" ] ~ .dropdown-menu#{$infix } -left , {
50
+ @include ltr {
51
+ right : auto ;
52
+ left : 0 ;
63
53
}
54
+ @include rtl {
55
+ right : 0 ;
56
+ left : auto ;
57
+ }
58
+ }
64
59
65
- & .dropdown-menu#{$infix } -right {
66
- @include ltr {
67
- right : 0 ;
68
- left : auto ;
69
- }
70
- @include rtl {
71
- right : auto ;
72
- left : 0 ;
73
- }
60
+ .c-header .dropdown-menu#{$infix } -right ,
61
+ .navbar .dropdown-menu#{$infix } -right ,
62
+ [data-display ^= " static" ] ~ .dropdown-menu#{$infix } -right {
63
+ @include ltr {
64
+ right : 0 ;
65
+ left : auto ;
66
+ }
67
+ @include rtl {
68
+ right : auto ;
69
+ left : 0 ;
74
70
}
75
71
}
76
72
}
You can’t perform that action at this time.
0 commit comments