summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Friend <nfriend@gitlab.com>2019-02-14 13:26:17 -0400
committerNathan Friend <nfriend@gitlab.com>2019-02-14 13:26:17 -0400
commit2fd784a4c1cb991391399ac369bfb008db697380 (patch)
tree4fbf492b0e7ece277d1ab173291f9e6df2646a46
parent1e5c83f2c8756dbab16167063b68c30b8f3a1fd8 (diff)
downloadgitlab-ce-nfriend-css-updates-for-gitlab-design-system-compliance.tar.gz
Update border radius of form controls and remove space above page titlesnfriend-css-updates-for-gitlab-design-system-compliance
This commit makes changes to global CSS styles to bring the product closer to compliance with Pajamas (the GitLab design system).
-rw-r--r--app/assets/stylesheets/framework/forms.scss2
-rw-r--r--app/assets/stylesheets/framework/page_title.scss1
-rw-r--r--changelogs/unreleased/nfriend-css-updates-for-gitlab-design-system-compliance.yml5
3 files changed, 6 insertions, 2 deletions
diff --git a/app/assets/stylesheets/framework/forms.scss b/app/assets/stylesheets/framework/forms.scss
index cbf9ee24ec5..94fc684ca5f 100644
--- a/app/assets/stylesheets/framework/forms.scss
+++ b/app/assets/stylesheets/framework/forms.scss
@@ -128,7 +128,7 @@ label {
.form-control {
@include box-shadow(none);
- border-radius: 2px;
+ border-radius: $border-radius-default;
padding: $gl-vert-padding $gl-input-padding;
&.input-short {
diff --git a/app/assets/stylesheets/framework/page_title.scss b/app/assets/stylesheets/framework/page_title.scss
index e8302953a63..ad6575761b5 100644
--- a/app/assets/stylesheets/framework/page_title.scss
+++ b/app/assets/stylesheets/framework/page_title.scss
@@ -2,7 +2,6 @@
@extend .d-flex;
@extend .align-items-center;
- padding-top: $gl-padding-top;
border-bottom: 1px solid $border-color;
.page-title {
diff --git a/changelogs/unreleased/nfriend-css-updates-for-gitlab-design-system-compliance.yml b/changelogs/unreleased/nfriend-css-updates-for-gitlab-design-system-compliance.yml
new file mode 100644
index 00000000000..8cde0958f7a
--- /dev/null
+++ b/changelogs/unreleased/nfriend-css-updates-for-gitlab-design-system-compliance.yml
@@ -0,0 +1,5 @@
+---
+title: Update `border-radius` of form controls and remove extra space above page titles
+merge_request: 24497
+author:
+type: fixed