diff options
author | Rayana Verissimo <rverissimo@gitlab.com> | 2019-07-20 17:50:35 +0000 |
---|---|---|
committer | Rayana Verissimo <rverissimo@gitlab.com> | 2019-07-20 17:50:35 +0000 |
commit | a7fa9bc248bda1044113e33f9ff0eca8938af0b2 (patch) | |
tree | aaeb20bc8908bdf84ec3948f73b0a4e8f144651c | |
parent | 66394bd1b7c98d7a6abbeade068b8b9c1b838ddf (diff) | |
download | gitlab-ce-a7fa9bc248bda1044113e33f9ff0eca8938af0b2.tar.gz |
Update tooltip values to meet design specsrverissimo-master-patch-43755
-rw-r--r-- | app/assets/stylesheets/framework/tooltips.scss | 5 | ||||
-rw-r--r-- | app/assets/stylesheets/framework/variables_overrides.scss | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/tooltips.scss b/app/assets/stylesheets/framework/tooltips.scss index 98f28987a82..edc2fb532c8 100644 --- a/app/assets/stylesheets/framework/tooltips.scss +++ b/app/assets/stylesheets/framework/tooltips.scss @@ -1,7 +1,6 @@ .tooltip-inner { - font-size: $tooltip-font-size; + font-size: $gl-font-size-small; border-radius: $border-radius-default; - line-height: 16px; + line-height: $gl-line-height; font-weight: $gl-font-weight-normal; - padding: 8px; } diff --git a/app/assets/stylesheets/framework/variables_overrides.scss b/app/assets/stylesheets/framework/variables_overrides.scss index ea96381a098..604b48e11ab 100644 --- a/app/assets/stylesheets/framework/variables_overrides.scss +++ b/app/assets/stylesheets/framework/variables_overrides.scss @@ -48,3 +48,7 @@ $spacers: ( 9: ($spacer * 8) ); $pagination-color: $gl-text-color; +$tooltip-padding-y: 0.5rem; +$tooltip-padding-x: 0.75rem; +$tooltip-arrow-height: 0.5rem; +$tooltip-arrow-width: 1rem; |