提交 fd54a467 编写于 作者: P Phil Hughes

Merge branch 'winh-comment-action-dropdown' into 'master'

Make comment actions dropdown style consistent

See merge request !13476
...@@ -757,6 +757,8 @@ ...@@ -757,6 +757,8 @@
.menu-item { .menu-item {
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 {
......
...@@ -379,9 +379,7 @@ ul.notes { ...@@ -379,9 +379,7 @@ ul.notes {
} }
.discussion-header, .discussion-header,
.note-header { .note-header-info {
position: relative;
a { a {
color: inherit; color: inherit;
...@@ -471,6 +469,8 @@ ul.notes { ...@@ -471,6 +469,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;
...@@ -506,22 +506,6 @@ ul.notes { ...@@ -506,22 +506,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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册