From 5b456293d969dddce8c9eb3579bffcf85a43151e Mon Sep 17 00:00:00 2001 From: ujiro99 Date: Mon, 30 Jan 2017 00:27:53 +0900 Subject: [PATCH] Fix font size of tooltip --- src/stylus/_variable.styl | 7 ++++++- src/stylus/components/tooltip.styl | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/stylus/_variable.styl b/src/stylus/_variable.styl index b7fb496..cdbb476 100644 --- a/src/stylus/_variable.styl +++ b/src/stylus/_variable.styl @@ -16,7 +16,6 @@ $height_issue_list_item = 2 rem $height_property_list = 3.6 rem $width_tab = 6.5em -$font_size_selected = 1.1 rem $field_border_radius = 3.125px // z-index @@ -31,3 +30,9 @@ $z-index-project-title = 1 $z-index-property-list = 1 $z-index-side = 1 $z-index-caption__title = -1 + +// font-size +$font_size_selected = 1.1 rem +$font_size_tooltip_title = 1.1 rem +$font_size_tooltip_attrs = 1 rem + diff --git a/src/stylus/components/tooltip.styl b/src/stylus/components/tooltip.styl index 7f98239..41e3019 100644 --- a/src/stylus/components/tooltip.styl +++ b/src/stylus/components/tooltip.styl @@ -1,5 +1,8 @@ .tooltip + h6 + font-size: $font_size_tooltip_title + color_tooltip = #e0e0e0 &.in @@ -18,6 +21,7 @@ border-left-color: color_tooltip .tooltip-inner + font-size: $font_size_tooltip_attrs color: #555 text-align: left background-color: color_tooltip