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
This commit is contained in:
Phil Hughes 2019-06-10 17:43:42 +00:00
commit 50063f4a85
4 changed files with 15 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export default {
<icon :size="12" name="ellipsis_h" />
</button>
<div class="commiter">
<div class="committer">
<a
:href="authorUrl"
:class="authorClass"

View File

@ -180,6 +180,14 @@
display: flex;
align-items: center;
}
.committer {
color: $gl-text-color-tertiary;
.commit-author-link {
color: $gl-text-color;
}
}
}
.commit-actions {

View File

@ -0,0 +1,5 @@
---
title: User link styling for commits
merge_request: 29150
author:
type: other

View File

@ -18,7 +18,7 @@ const getDescExpandElement = vm =>
vm.$el.querySelector('.commit-content .text-expander.js-toggle-button');
const getShaElement = vm => vm.$el.querySelector('.commit-sha-group');
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');
describe('diffs/components/commit_item', () => {