Skip to content
Snippets Groups Projects
Commit e92db999 authored by André Luís's avatar André Luís
Browse files

Make Edit link style consistent on Sidebar

Especially making the link on Lock MR section work the same as others on hover
parent 41285af4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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"
>
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment