Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
d014775d
Commit
d014775d
authored
Apr 19, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move discussion actions to the right for small viewports
parent
b8a84830
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
app/assets/javascripts/notes/components/note_header.vue
app/assets/javascripts/notes/components/note_header.vue
+15
-15
app/assets/stylesheets/pages/notes.scss
app/assets/stylesheets/pages/notes.scss
+0
-5
changelogs/unreleased/move-disussion-actions-to-the-right.yml
...gelogs/unreleased/move-disussion-actions-to-the-right.yml
+5
-0
No files found.
app/assets/javascripts/notes/components/note_header.vue
View file @
d014775d
...
...
@@ -62,6 +62,21 @@ export default {
<
template
>
<div
class=
"note-header-info"
>
<div
v-if=
"includeToggle"
class=
"discussion-actions"
>
<button
@
click=
"handleToggle"
class=
"note-action-button discussion-toggle-button js-vue-toggle-button"
type=
"button"
>
<i
:class=
"toggleChevronClass"
class=
"fa"
aria-hidden=
"true"
>
</i>
Toggle discussion
</button>
</div>
<a
:href=
"author.path"
>
<span
class=
"note-header-author-name"
>
{{
author
.
name
}}
</span>
<span
class=
"note-headline-light"
>
...
...
@@ -95,20 +110,5 @@ export default {
</i>
</span>
</span>
<div
v-if=
"includeToggle"
class=
"discussion-actions"
>
<button
@
click=
"handleToggle"
class=
"note-action-button discussion-toggle-button js-vue-toggle-button"
type=
"button"
>
<i
:class=
"toggleChevronClass"
class=
"fa"
aria-hidden=
"true"
>
</i>
Toggle discussion
</button>
</div>
</div>
</template>
app/assets/stylesheets/pages/notes.scss
View file @
d014775d
...
...
@@ -473,11 +473,6 @@ ul.notes {
margin-left
:
10px
;
color
:
$gray-darkest
;
@include
notes-media
(
'max'
,
$screen-md-max
)
{
float
:
none
;
margin-left
:
0
;
}
.btn-group
>
.discussion-next-btn
{
margin-left
:
-1px
;
}
...
...
changelogs/unreleased/move-disussion-actions-to-the-right.yml
0 → 100644
View file @
d014775d
---
title
:
Move discussion actions to the right for small viewports
merge_request
:
18476
author
:
George Tsiolis
type
:
changed
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