Commit 5c592a9d authored by winh's avatar winh

Make comment actions dropdown style consistent

parent ef8eb3f6
...@@ -751,6 +751,8 @@ ...@@ -751,6 +751,8 @@
button { button {
border-radius: 0; border-radius: 0;
padding: 8px 16px; padding: 8px 16px;
text-align: left;
width: 100%;
// make sure the text color is not overriden // make sure the text color is not overriden
&.text-danger { &.text-danger {
......
...@@ -365,9 +365,7 @@ ul.notes { ...@@ -365,9 +365,7 @@ ul.notes {
} }
.discussion-header, .discussion-header,
.note-header { .note-header-info {
position: relative;
a { a {
color: inherit; color: inherit;
...@@ -453,6 +451,8 @@ ul.notes { ...@@ -453,6 +451,8 @@ ul.notes {
} }
.note-actions { .note-actions {
@include new-style-dropdown;
align-self: flex-start; align-self: flex-start;
flex-shrink: 0; flex-shrink: 0;
display: inline-flex; display: inline-flex;
...@@ -488,22 +488,6 @@ ul.notes { ...@@ -488,22 +488,6 @@ ul.notes {
.more-actions-dropdown { .more-actions-dropdown {
width: 180px; width: 180px;
min-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 { .discussion-actions {
......
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