User link styling for commits

This commit is contained in:
Marcel van Remmerden 2019-06-10 17:43:41 +00:00 committed by Phil Hughes
parent 748c955281
commit a8eedd0a09
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', () => {