diff options
author | Dimitrie Hoekstra <dimitriehoekstra@gmail.com> | 2016-11-01 13:15:47 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-11-04 12:42:00 +0300 |
commit | b708c0d3895664562d969e67d3605fce97ab6cc8 (patch) | |
tree | 82135889f310404e14da5b208175e96f4c2327e4 | |
parent | 957744dab4297f66dc70c1727fe2cf5282d2ea5a (diff) |
updated styling commit SHA on branches page + added to changelog
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | app/assets/stylesheets/pages/commits.scss | 17 | ||||
-rw-r--r-- | app/views/projects/branches/_commit.html.haml | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index dd6b4e0ba11..641932bd48c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -66,6 +66,7 @@ entry. - Improve search query parameter naming in /admin/users !7115 (YarNayar) - Fix table pagination to be responsive - Allow to search for user by secondary email address in the admin interface(/admin/users) !7115 (YarNayar) +- Updated commit SHA styling on the branches page. ## 8.13.3 (2016-11-02) diff --git a/app/assets/stylesheets/pages/commits.scss b/app/assets/stylesheets/pages/commits.scss index 52d6a39bd59..e82b001271d 100644 --- a/app/assets/stylesheets/pages/commits.scss +++ b/app/assets/stylesheets/pages/commits.scss @@ -164,7 +164,22 @@ .branch-commit { color: $gl-gray; - .commit-id, + .commit-icon { + text-align: center; + display: inline-block; + + svg { + height: 14px; + width: 14px; + vertical-align: middle; + fill: $table-text-gray; + } + } + + .commit-id{ + color: $gl-link-color; + } + .commit-row-message { color: $gl-gray; } diff --git a/app/views/projects/branches/_commit.html.haml b/app/views/projects/branches/_commit.html.haml index d54c76ff9c8..de607772df6 100644 --- a/app/views/projects/branches/_commit.html.haml +++ b/app/views/projects/branches/_commit.html.haml @@ -1,4 +1,6 @@ .branch-commit + .icon-container.commit-icon + = custom_icon("icon_commit") = link_to commit.short_id, namespace_project_commit_path(project.namespace, project, commit.id), class: "commit-id monospace" · %span.str-truncated |