Commit a8eedd0a authored by Marcel van Remmerden's avatar Marcel van Remmerden Committed by Phil Hughes

User link styling for commits

parent 748c9552
...@@ -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