BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
4e18e72e
Commit
4e18e72e
authored
Mar 13, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '29189-discussion-button' into 'master'
Fix alignment of resolve discussion button Closes #29189 See merge request !9865
parents
ac14bd35
6d9afdfb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
15 deletions
+17
-15
notes.scss
app/assets/stylesheets/pages/notes.scss
+4
-5
_note.html.haml
app/views/projects/notes/_note.html.haml
+9
-10
29189-discussion-button.yml
changelogs/unreleased/29189-discussion-button.yml
+4
-0
No files found.
app/assets/stylesheets/pages/notes.scss
View file @
4e18e72e
...
...
@@ -384,7 +384,7 @@ ul.notes {
top
:
0
;
.note-action-button
{
margin-left
:
10
px
;
margin-left
:
8
px
;
}
}
...
...
@@ -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
;
}
}
...
...
app/views/projects/notes/_note.html.haml
View file @
4e18e72e
...
...
@@ -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?
...
...
changelogs/unreleased/29189-discussion-button.yml
0 → 100644
View file @
4e18e72e
---
title
:
Fix alignment of resolve button
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment