Commit 9b848a75 authored by Coung Ngo's avatar Coung Ngo

Make issue sidebar links style more consistent

Made code changes as a result of review
parent 73f108c5
...@@ -106,17 +106,17 @@ export default { ...@@ -106,17 +106,17 @@ export default {
<div class="title hide-collapsed"> <div class="title hide-collapsed">
{{ sprintf(__('Lock %{issuableDisplayName}'), { issuableDisplayName: issuableDisplayName }) }} {{ sprintf(__('Lock %{issuableDisplayName}'), { issuableDisplayName: issuableDisplayName }) }}
<button <a
v-if="isEditable" v-if="isEditable"
class="float-right lock-edit btn-link" class="float-right lock-edit"
type="button" href="#"
data-track-event="click_edit_button" data-track-event="click_edit_button"
data-track-label="right_sidebar" data-track-label="right_sidebar"
data-track-property="lock_issue" data-track-property="lock_issue"
@click.prevent="toggleForm" @click.prevent="toggleForm"
> >
{{ __('Edit') }} {{ __('Edit') }}
</button> </a>
</div> </div>
<div class="value sidebar-item-value hide-collapsed"> <div class="value sidebar-item-value hide-collapsed">
......
...@@ -259,6 +259,12 @@ ...@@ -259,6 +259,12 @@
a.edit-link:not([href]):hover { a.edit-link:not([href]):hover {
color: rgba($gray-normal, 0.2); color: rgba($gray-normal, 0.2);
} }
.confidential-edit,
.lock-edit,
.edit-link {
@extend .btn-link;
}
} }
.cross-project-reference { .cross-project-reference {
......
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
<gl-loading-icon v-if="fetching || loading" :inline="true" class="js-weight-loading-icon" /> <gl-loading-icon v-if="fetching || loading" :inline="true" class="js-weight-loading-icon" />
<a <a
v-if="editable" v-if="editable"
class="float-right js-weight-edit-link" class="float-right edit-link js-weight-edit-link"
data-qa-selector="edit_weight_link" data-qa-selector="edit_weight_link"
href="#" href="#"
@click.prevent="onEditClick(!shouldShowEditField)" @click.prevent="onEditClick(!shouldShowEditField)"
......
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