summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-21 08:31:05 -0700
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-21 08:31:05 -0700
commit420f117df98faef0ff06ea7eceabe46994518559 (patch)
treec6a4a8f2d8ead3f0bfcd7ad0925162829b194ade
parent6b5708e073cfb8003b82dc3b6c16fa479973ae87 (diff)
downloadgitlab-ce-420f117df98faef0ff06ea7eceabe46994518559.tar.gz
Mobile view for commit status
-rw-r--r--app/assets/stylesheets/pages/status.scss8
-rw-r--r--app/views/projects/commits/_commit.html.haml3
2 files changed, 10 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/status.scss b/app/assets/stylesheets/pages/status.scss
index 210ace357c0..587f2d9f3c1 100644
--- a/app/assets/stylesheets/pages/status.scss
+++ b/app/assets/stylesheets/pages/status.scss
@@ -75,3 +75,11 @@
color: $gl-gray;
}
}
+
+.visible-xs-inline {
+ .ci-status-link {
+ position: relative;
+ top: 2px;
+ left: 5px;
+ }
+}
diff --git a/app/views/projects/commits/_commit.html.haml b/app/views/projects/commits/_commit.html.haml
index b195822d184..fd888f41b1e 100644
--- a/app/views/projects/commits/_commit.html.haml
+++ b/app/views/projects/commits/_commit.html.haml
@@ -19,7 +19,8 @@
&middot;
= commit.short_id
- if commit.status
- = render_commit_status(commit)
+ .visible-xs-inline
+ = render_commit_status(commit)
- if commit.description?
%a.text-expander.hidden-xs.js-toggle-button ...