From c11078d6c78b371b2a52226b44a17f16c494d7f7 Mon Sep 17 00:00:00 2001 From: Andrea Stagi Date: Wed, 4 Feb 2015 07:56:19 +0100 Subject: [PATCH] Add arrow-height parameter to popover mixin --- app/styles/dependencies/mixins.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/styles/dependencies/mixins.scss b/app/styles/dependencies/mixins.scss index ad1189b7..19730da8 100644 --- a/app/styles/dependencies/mixins.scss +++ b/app/styles/dependencies/mixins.scss @@ -31,7 +31,7 @@ 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; background: $blackish; bottom: #{$bottom}; @@ -67,7 +67,7 @@ background: $blackish; bottom: #{$arrow-bottom}; content: ''; - height: 15px; + height: #{$arrow-height}; left: #{$arrow-left}; position: absolute; top: #{$arrow-top};