diff options
author | Dimitrie Hoekstra <dimitrie@gitlab.com> | 2017-09-27 16:46:17 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-27 16:46:17 +0000 |
commit | e8616997d3ae8cf7eb8d39d0c67cd0849f4d32f5 (patch) | |
tree | 76555600b3fa0c8209887bbd918c0d2bc33a5a44 | |
parent | 67d3ddfdb681d4e791b3b3b716d2b772f530cc86 (diff) | |
download | gitlab-ce-e8616997d3ae8cf7eb8d39d0c67cd0849f4d32f5.tar.gz |
Breadcrumbs receives padding when double lined
-rw-r--r-- | app/assets/stylesheets/framework/new-nav.scss | 5 | ||||
-rw-r--r-- | changelogs/unreleased/breadcrumbs-line-height-padding.yml | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/new-nav.scss b/app/assets/stylesheets/framework/new-nav.scss index d4b3fb238d5..81022d4af2a 100644 --- a/app/assets/stylesheets/framework/new-nav.scss +++ b/app/assets/stylesheets/framework/new-nav.scss @@ -306,6 +306,8 @@ header.navbar-gitlab-new { display: flex; width: 100%; position: relative; + padding-top: $gl-padding / 2; + padding-bottom: $gl-padding / 2; align-items: center; border-bottom: 1px solid $border-color; } @@ -346,6 +348,7 @@ header.navbar-gitlab-new { display: flex; align-items: center; position: relative; + padding: 2px 0; &:not(:last-child) { margin-right: 20px; @@ -381,7 +384,7 @@ header.navbar-gitlab-new { margin: 0; font-size: 12px; font-weight: 600; - line-height: 1; + line-height: 16px; a { color: $gl-text-color; diff --git a/changelogs/unreleased/breadcrumbs-line-height-padding.yml b/changelogs/unreleased/breadcrumbs-line-height-padding.yml new file mode 100644 index 00000000000..3ac56c8b593 --- /dev/null +++ b/changelogs/unreleased/breadcrumbs-line-height-padding.yml @@ -0,0 +1,5 @@ +--- +title: breadcrumbs receives padding when double lined +merge_request: +author: +type: changed |