Make Edit link style consistent on Sidebar
Especially making the link on Lock MR section work the same as others on hover
This commit is contained in:
parent
41285af45d
commit
e92db999ff
|
@ -75,7 +75,7 @@
|
|||
{{ sprintf(__('Lock %{issuableDisplayName}'), { issuableDisplayName: issuableDisplayName }) }}
|
||||
<button
|
||||
v-if="isEditable"
|
||||
class="pull-right lock-edit btn btn-blank"
|
||||
class="pull-right lock-edit"
|
||||
type="button"
|
||||
@click.prevent="toggleForm"
|
||||
>
|
||||
|
|
|
@ -197,11 +197,18 @@
|
|||
margin-left: 0;
|
||||
}
|
||||
|
||||
a.edit-link:not([href]):hover {
|
||||
color: rgba($avatar-border, .2);
|
||||
}
|
||||
|
||||
.lock-edit, // uses same style, different js behaviour
|
||||
.edit-link {
|
||||
@extend .btn-blank;
|
||||
color: $gl-text-color;
|
||||
|
||||
&:not([href]):hover {
|
||||
color: rgba($avatar-border, .2);
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
color: $md-link-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue