From dc31a883d03f01a0e94a6daaf0d75be10dd333a7 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Mon, 3 Oct 2016 10:07:59 +0200 Subject: [PATCH] align left issues popovers --- app/styles/dependencies/mixins/popover.scss | 5 +++-- app/styles/modules/common/ticket-data.scss | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/styles/dependencies/mixins/popover.scss b/app/styles/dependencies/mixins/popover.scss index 595896a7..175d1bb1 100644 --- a/app/styles/dependencies/mixins/popover.scss +++ b/app/styles/dependencies/mixins/popover.scss @@ -8,7 +8,8 @@ $arrow-top: '', $arrow-left: '', $arrow-bottom: '', - $arrow-height: 15px + $arrow-height: 15px, + $align: 'center' ) { @include font-type(light); @include font-size(small); @@ -25,7 +26,7 @@ top: #{$top}; width: $width; z-index: 99; - text-align: center; + text-align: $align; a { @include font-size(small); border-bottom: 1px solid $grayer; diff --git a/app/styles/modules/common/ticket-data.scss b/app/styles/modules/common/ticket-data.scss index edcdeea1..e1564075 100644 --- a/app/styles/modules/common/ticket-data.scss +++ b/app/styles/modules/common/ticket-data.scss @@ -84,7 +84,7 @@ position: relative; transition: background .2s ease-in; .pop-type { - @include popover(150px, '', 30px, '', ''); + @include popover(150px, 30px, 30px, '', '', 0, '', '', '', 15px, 'left'); } } .severity-data { @@ -95,7 +95,7 @@ position: relative; transition: background .2s ease-in; .pop-severity { - @include popover(150px, '', 30px, '', ''); + @include popover(150px, 30px, 30px, '', '', 0, '', '', '', 15px, 'left'); } } .priority-data { @@ -106,7 +106,7 @@ position: relative; transition: background .2s ease-in; .pop-priority { - @include popover(150px, '', 30px, '', ''); + @include popover(150px, 30px, 30px, '', '', 0, '', '', '', 15px, 'left'); } } }