diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-06-29 21:26:09 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-06-29 21:26:09 +0000 |
commit | 8cada02d49090267576f6b0aa82e790368e0d7ae (patch) | |
tree | 59b4a0abf030495cc868be8d1186553b52242b21 | |
parent | fd0aa35d9274bed420bad54adf3008175d410e0b (diff) | |
parent | 0bba8adf8f197cd4a0e6eb0f18346c379aa0d85f (diff) | |
download | gitlab-ce-8cada02d49090267576f6b0aa82e790368e0d7ae.tar.gz |
Merge branch 'commit-avatar-alignment' into 'master'
Fixed comit avatar alignment
## What does this MR do?
Fixes the alignment of the avatar on https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG
Also fixes potential issues in other places.
## Screenshots (if relevant)
![Screen_Shot_2016-06-27_at_10.58.26](/uploads/fa4f50cfc30a870422d1afa63a4331d1/Screen_Shot_2016-06-27_at_10.58.26.png)![Screen_Shot_2016-06-27_at_10.58.35](/uploads/bd7dc3cf77464c1775fabb45b8079f02/Screen_Shot_2016-06-27_at_10.58.35.png)
See merge request !4933
-rw-r--r-- | app/assets/stylesheets/pages/commits.scss | 10 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/tree.scss | 3 |
2 files changed, 4 insertions, 9 deletions
diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss index de534d28421..85bbf70e188 100644 --- a/app/assets/stylesheets/pages/commits.scss +++ b/app/assets/stylesheets/pages/commits.scss @@ -83,11 +83,7 @@ position: relative; @media (min-width: $screen-sm-min) { - padding-left: 20px; - - .commit-info-block { - padding-left: 44px; - } + padding-left: 46px; } &:not(:last-child) { @@ -102,9 +98,7 @@ .avatar { - position: absolute; - top: 10px; - left: 16px; + margin-left: -46px; } .item-title { diff --git a/app/assets/stylesheets/pages/tree.scss b/app/assets/stylesheets/pages/tree.scss index 99c9e81ddb9..5b61270daa8 100644 --- a/app/assets/stylesheets/pages/tree.scss +++ b/app/assets/stylesheets/pages/tree.scss @@ -101,7 +101,8 @@ margin: 0; .commit { - padding: 0 0 0 55px; + padding-top: 0; + padding-bottom: 0; .commit-row-title { .commit-row-message { |