Commit 50063f4a authored by Phil Hughes's avatar Phil Hughes

Merge branch '61072-link-to-user-profile-not-distinguishable-on-latest-commit-widget' into 'master'

User link styling for commits

Closes #61072

See merge request gitlab-org/gitlab-ce!29150
parents 748c9552 a8eedd0a
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
<icon :size="12" name="ellipsis_h" /> <icon :size="12" name="ellipsis_h" />
</button> </button>
<div class="commiter"> <div class="committer">
<a <a
:href="authorUrl" :href="authorUrl"
:class="authorClass" :class="authorClass"
......
...@@ -180,6 +180,14 @@ ...@@ -180,6 +180,14 @@
display: flex; display: flex;
align-items: center; align-items: center;
} }
.committer {
color: $gl-text-color-tertiary;
.commit-author-link {
color: $gl-text-color;
}
}
} }
.commit-actions { .commit-actions {
......
---
title: User link styling for commits
merge_request: 29150
author:
type: other
...@@ -18,7 +18,7 @@ const getDescExpandElement = vm => ...@@ -18,7 +18,7 @@ const getDescExpandElement = vm =>
vm.$el.querySelector('.commit-content .text-expander.js-toggle-button'); vm.$el.querySelector('.commit-content .text-expander.js-toggle-button');
const getShaElement = vm => vm.$el.querySelector('.commit-sha-group'); const getShaElement = vm => vm.$el.querySelector('.commit-sha-group');
const getAvatarElement = vm => vm.$el.querySelector('.user-avatar-link'); const getAvatarElement = vm => vm.$el.querySelector('.user-avatar-link');
const getCommitterElement = vm => vm.$el.querySelector('.commiter'); const getCommitterElement = vm => vm.$el.querySelector('.committer');
const getCommitActionsElement = vm => vm.$el.querySelector('.commit-actions'); const getCommitActionsElement = vm => vm.$el.querySelector('.commit-actions');
describe('diffs/components/commit_item', () => { describe('diffs/components/commit_item', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment