diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-27 03:08:30 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-01-27 03:08:30 +0300 |
commit | 79915528d87b20321ba152d5c0f6c2c04c20483d (patch) | |
tree | c803b6be75851f77e0be6128a92ae8b8d8a40162 | |
parent | 2b050601499bad178bc9ecd3aa0a4ce5141b40c4 (diff) | |
parent | 2b8b060236535d3abe27d705be97523b0816da67 (diff) |
Merge branch 'bigger-font' into 'master'
Bigger font-size for code browsing
See merge request !1439
-rw-r--r-- | app/assets/stylesheets/generic/highlight.scss | 8 | ||||
-rw-r--r-- | app/assets/stylesheets/main/variables.scss | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/stylesheets/generic/highlight.scss b/app/assets/stylesheets/generic/highlight.scss index 83dc7ab491a..839551ca8da 100644 --- a/app/assets/stylesheets/generic/highlight.scss +++ b/app/assets/stylesheets/generic/highlight.scss @@ -10,8 +10,8 @@ border: none; border-radius: 0; font-family: $monospace_font; - font-size: 12px !important; - line-height: 16px !important; + font-size: $code_font_size !important; + line-height: 1.4 !important; margin: 0; overflow: auto; overflow-y: hidden; @@ -38,8 +38,8 @@ a { font-family: $monospace_font; display: block; - font-size: 12px !important; - line-height: 16px !important; + font-size: $code_font_size !important; + line-height: 1.4 !important; white-space: nowrap; i { diff --git a/app/assets/stylesheets/main/variables.scss b/app/assets/stylesheets/main/variables.scss index 6bbce70a782..f2402a4fc30 100644 --- a/app/assets/stylesheets/main/variables.scss +++ b/app/assets/stylesheets/main/variables.scss @@ -59,3 +59,4 @@ $list-font-size: 15px; $sidebar_width: 230px; $avatar_radius: 50%; +$code_font_size: 13px; |