summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/commits.scss
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-31 11:04:18 +0100
committerPhil Hughes <me@iamphill.com>2016-06-08 10:11:44 +0100
commit97cee7e231689a7dee2f193411f3cd7962c6ea52 (patch)
treedfa956fc5cc46d595c7e6785107cf478543d73be /app/assets/stylesheets/pages/commits.scss
parent48726e9d307536318c7d87e2ba93f93582e22bfa (diff)
downloadgitlab-ce-97cee7e231689a7dee2f193411f3cd7962c6ea52.tar.gz
Improved spacing on mobile
Diffstat (limited to 'app/assets/stylesheets/pages/commits.scss')
-rw-r--r--app/assets/stylesheets/pages/commits.scss14
1 files changed, 11 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss
index ba8d9cce49b..2723fb0b6e0 100644
--- a/app/assets/stylesheets/pages/commits.scss
+++ b/app/assets/stylesheets/pages/commits.scss
@@ -57,7 +57,7 @@
}
.commit-actions {
- @media (min-width: $screen-md-min) {
+ @media (min-width: $screen-sm-min) {
float: right;
margin-left: $gl-padding;
}
@@ -69,7 +69,11 @@
}
.commit {
- padding: 10px 0 10px 55px;
+ padding: 10px 0 10px;
+
+ @media (min-width: $screen-sm-min) {
+ padding-left: 55px;
+ }
&:not(:last-child) {
border-bottom: 1px solid #eee;
@@ -78,6 +82,7 @@
a,
button {
color: $gl-dark-link-color;
+ vertical-align: baseline;
}
.avatar {
@@ -86,7 +91,10 @@
.item-title {
display: inline-block;
- max-width: 70%;
+
+ @media (min-width: $screen-sm-min) {
+ max-width: 70%;
+ }
}
.commit-row-description {