summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-24 17:41:19 +0100
committerPhil Hughes <me@iamphill.com>2017-10-24 17:41:19 +0100
commit0bfb2aff7c2d74428321b42a25f8b7e92b8407e0 (patch)
tree1c6bfc5d7a1e336e51a60d56c730b7f1a4f0112a
parent95e56a617500d6ef94d7e857370cda5eadde614f (diff)
downloadgitlab-ce-fix-user-tab-activity-mobile.tar.gz
Fixed user profile tab being off-screenfix-user-tab-activity-mobile
-rw-r--r--app/assets/stylesheets/framework/blocks.scss9
-rw-r--r--changelogs/unreleased/fix-user-tab-activity-mobile.yml5
2 files changed, 13 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/blocks.scss b/app/assets/stylesheets/framework/blocks.scss
index dbd990f84c1..8819a0c20f4 100644
--- a/app/assets/stylesheets/framework/blocks.scss
+++ b/app/assets/stylesheets/framework/blocks.scss
@@ -209,7 +209,6 @@
padding: 24px 0 0;
.nav-links {
- justify-content: center;
width: 100%;
float: none;
@@ -217,6 +216,14 @@
float: none;
}
}
+
+ li:first-child {
+ margin-left: auto;
+ }
+
+ li:last-child {
+ margin-right: auto;
+ }
}
.group-info {
diff --git a/changelogs/unreleased/fix-user-tab-activity-mobile.yml b/changelogs/unreleased/fix-user-tab-activity-mobile.yml
new file mode 100644
index 00000000000..a7e4fcb4355
--- /dev/null
+++ b/changelogs/unreleased/fix-user-tab-activity-mobile.yml
@@ -0,0 +1,5 @@
+---
+title: Fixed user profile activity tab being off-screen on mobile
+merge_request:
+author:
+type: fixed