diff options
| author | Neylor Ohmaly | 2014-02-07 18:35:40 -0200 | 
|---|---|---|
| committer | Neylor Ohmaly | 2014-02-07 18:35:40 -0200 | 
| commit | 28251f658bb02cf0425c6cecd10c796717742b59 (patch) | |
| tree | f4cc146ca0f6a115e280af9891cbaf689516b7bf /sass/ns-popover.scss | |
| parent | 64f978cd975e6ecc5cde583fb2a5e86609e624c6 (diff) | |
| download | nsPopover-28251f658bb02cf0425c6cecd10c796717742b59.tar.bz2 | |
Fix a bug that causes the popover to be positioned incorrectly. Make the triangle be positioned in the e=center of the triggering element when the ns-popover-theme is used.
Diffstat (limited to 'sass/ns-popover.scss')
| -rw-r--r-- | sass/ns-popover.scss | 12 | 
1 files changed, 12 insertions, 0 deletions
| diff --git a/sass/ns-popover.scss b/sass/ns-popover.scss index 72b0755..b38fe9d 100644 --- a/sass/ns-popover.scss +++ b/sass/ns-popover.scss @@ -163,4 +163,16 @@ $popover-triangle-border-color: $popover-border-color !default;        @include triangle("left");
      }
    }
 +
 +  &.ns-popover-left-align {
 +    .ns-popover-tooltip {
 +      margin-left: 0;
 +    }
 +  }
 +
 +  &.ns-popover-right-align {
 +    .ns-popover-tooltip {
 +      margin-right: 0;
 +    }
 +  }
  }
\ No newline at end of file | 
