summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-22 13:56:07 +0000
committerPhil Hughes <me@iamphill.com>2016-03-22 13:56:07 +0000
commitb4f97b93a926d4c71d0536675a0af19c37af2e30 (patch)
tree138119c3f51fd1541fa45103f345a98f4eb0b902 /app/assets
parentfc6ee359287c6bd286e32ce808e7069714e1732e (diff)
downloadgitlab-ce-header-mobile-overflow.tar.gz
Fixes issue with signin button overflowing on mobileheader-mobile-overflow
Closes #14477
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/common.scss5
-rw-r--r--app/assets/stylesheets/framework/header.scss5
2 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index bc03c2180be..1f770876464 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -292,8 +292,11 @@ table {
}
.btn-sign-in {
- margin-top: 10px;
text-shadow: none;
+
+ @media (min-width: $screen-sm-min) {
+ margin-top: 11px;
+ }
}
.side-filters {
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 71a7ecab8ef..6a68bb5c115 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -70,6 +70,11 @@ header {
.header-content {
height: $header-height;
+ padding-right: 20px;
+
+ @media (min-width: $screen-sm-min) {
+ padding-right: 0;
+ }
.title {
margin: 0;