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:
commit
50063f4a85
4 changed files with 15 additions and 2 deletions
|
@ -91,7 +91,7 @@ export default {
|
|||
<icon :size="12" name="ellipsis_h" />
|
||||
</button>
|
||||
|
||||
<div class="commiter">
|
||||
<div class="committer">
|
||||
<a
|
||||
:href="authorUrl"
|
||||
:class="authorClass"
|
||||
|
|
|
@ -180,6 +180,14 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.committer {
|
||||
color: $gl-text-color-tertiary;
|
||||
|
||||
.commit-author-link {
|
||||
color: $gl-text-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.commit-actions {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: User link styling for commits
|
||||
merge_request: 29150
|
||||
author:
|
||||
type: other
|
|
@ -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', () => {
|
||||
|
|
Loading…
Reference in a new issue