Make comment actions dropdown style consistent

This commit is contained in:
winh 2017-08-10 21:25:43 +02:00
parent ef8eb3f6f7
commit 5c592a9dcf
2 changed files with 5 additions and 19 deletions

View file

@ -751,6 +751,8 @@
button {
border-radius: 0;
padding: 8px 16px;
text-align: left;
width: 100%;
// make sure the text color is not overriden
&.text-danger {

View file

@ -365,9 +365,7 @@ ul.notes {
}
.discussion-header,
.note-header {
position: relative;
.note-header-info {
a {
color: inherit;
@ -453,6 +451,8 @@ ul.notes {
}
.note-actions {
@include new-style-dropdown;
align-self: flex-start;
flex-shrink: 0;
display: inline-flex;
@ -488,22 +488,6 @@ ul.notes {
.more-actions-dropdown {
width: 180px;
min-width: 180px;
margin-top: $gl-btn-padding;
li > a,
li > .btn {
color: $gl-text-color;
padding: $gl-btn-padding;
width: 100%;
text-align: left;
&:hover,
&:focus {
color: $gl-text-color;
background-color: $blue-25;
border-radius: $border-radius-default;
}
}
}
.discussion-actions {