Merge branch '29189-discussion-button' into 'master'
Fix alignment of resolve discussion button Closes #29189 See merge request !9865
This commit is contained in:
commit
4e18e72e81
3 changed files with 17 additions and 15 deletions
|
@ -384,7 +384,7 @@ ul.notes {
|
|||
top: 0;
|
||||
|
||||
.note-action-button {
|
||||
margin-left: 10px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -400,8 +400,7 @@ ul.notes {
|
|||
}
|
||||
|
||||
.note-action-button {
|
||||
display: inline-block;
|
||||
margin-left: 0;
|
||||
display: inline;
|
||||
line-height: 20px;
|
||||
|
||||
@media (min-width: $screen-sm-min) {
|
||||
|
@ -540,7 +539,6 @@ ul.notes {
|
|||
}
|
||||
|
||||
.line-resolve-btn {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
padding: 0;
|
||||
|
@ -563,8 +561,9 @@ ul.notes {
|
|||
}
|
||||
|
||||
svg {
|
||||
position: relative;
|
||||
fill: $gray-darkest;
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -43,18 +43,17 @@
|
|||
"inline-template" => true,
|
||||
"ref" => "note_#{note.id}" }
|
||||
|
||||
.note-action-button
|
||||
%button.note-action-button.line-resolve-btn{ type: "button",
|
||||
class: ("is-disabled" unless can_resolve),
|
||||
":class" => "{ 'is-active': isResolved }",
|
||||
":aria-label" => "buttonText",
|
||||
"@click" => "resolve",
|
||||
":title" => "buttonText",
|
||||
"v-show" => "!loading",
|
||||
":ref" => "'button'" }
|
||||
= icon("spin spinner", "v-show" => "loading")
|
||||
%button.line-resolve-btn{ type: "button",
|
||||
class: ("is-disabled" unless can_resolve),
|
||||
":class" => "{ 'is-active': isResolved }",
|
||||
":aria-label" => "buttonText",
|
||||
"@click" => "resolve",
|
||||
":title" => "buttonText",
|
||||
"v-show" => "!loading",
|
||||
":ref" => "'button'" }
|
||||
|
||||
= render "shared/icons/icon_status_success.svg"
|
||||
= render "shared/icons/icon_status_success.svg"
|
||||
|
||||
- if current_user
|
||||
- if note.emoji_awardable?
|
||||
|
|
4
changelogs/unreleased/29189-discussion-button.yml
Normal file
4
changelogs/unreleased/29189-discussion-button.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fix alignment of resolve button
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue