Add arrow-height parameter to popover mixin
parent
a4b10210a7
commit
c11078d6c7
|
@ -31,7 +31,7 @@
|
||||||
background: rgba($red, $green, $blue, $opacity);
|
background: rgba($red, $green, $blue, $opacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin popover($width, $top: '', $left: '', $bottom: '', $right: '', $arrow-width: 0, $arrow-top: '', $arrow-left: '', $arrow-bottom: '') {
|
@mixin popover($width, $top: '', $left: '', $bottom: '', $right: '', $arrow-width: 0, $arrow-top: '', $arrow-left: '', $arrow-bottom: '', $arrow-height: 15px) {
|
||||||
@extend %text;
|
@extend %text;
|
||||||
background: $blackish;
|
background: $blackish;
|
||||||
bottom: #{$bottom};
|
bottom: #{$bottom};
|
||||||
|
@ -67,7 +67,7 @@
|
||||||
background: $blackish;
|
background: $blackish;
|
||||||
bottom: #{$arrow-bottom};
|
bottom: #{$arrow-bottom};
|
||||||
content: '';
|
content: '';
|
||||||
height: 15px;
|
height: #{$arrow-height};
|
||||||
left: #{$arrow-left};
|
left: #{$arrow-left};
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: #{$arrow-top};
|
top: #{$arrow-top};
|
||||||
|
|
Loading…
Reference in New Issue