diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-12-04 14:25:26 +0100 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-12-10 15:31:55 +0100 |
commit | 9f16b2497a42c54e4c479e6c076a1dc0159432c4 (patch) | |
tree | bff61212226c4a3937a2eb3bf332a5f8da3349f7 | |
parent | 42d37c1b06d7f4ab78c6230cfc535e26669e3360 (diff) | |
download | gitlab-ce-9f16b2497a42c54e4c479e6c076a1dc0159432c4.tar.gz |
Adjust padding of .dropdown-title to comply with design specs
-rw-r--r-- | app/assets/stylesheets/framework/dropdowns.scss | 5 | ||||
-rw-r--r-- | changelogs/unreleased/winh-dropdown-title-padding.yml | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index f273eb9533d..ffd02630d37 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -530,8 +530,9 @@ .dropdown-title { position: relative; - padding: 2px 25px 10px; - margin: 0 10px 10px; + padding: $dropdown-item-padding-y $dropdown-item-padding-x; + padding-bottom: #{2 * $dropdown-item-padding-y}; + margin-bottom: $dropdown-item-padding-y; font-weight: $gl-font-weight-bold; line-height: 1; text-align: center; diff --git a/changelogs/unreleased/winh-dropdown-title-padding.yml b/changelogs/unreleased/winh-dropdown-title-padding.yml new file mode 100644 index 00000000000..9d65175b536 --- /dev/null +++ b/changelogs/unreleased/winh-dropdown-title-padding.yml @@ -0,0 +1,5 @@ +--- +title: Adjust padding of .dropdown-title to comply with design specs +merge_request: 23546 +author: +type: changed |