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
iv
gitlab-ce
Commits
c9d78a00
Commit
c9d78a00
authored
Sep 09, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UI bugs with discussions
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
86556a07
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
5 deletions
+22
-5
app/assets/stylesheets/generic/timeline.scss
app/assets/stylesheets/generic/timeline.scss
+18
-1
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+3
-3
app/views/projects/notes/_discussion.html.haml
app/views/projects/notes/_discussion.html.haml
+1
-1
No files found.
app/assets/stylesheets/generic/timeline.scss
View file @
c9d78a00
...
@@ -4,14 +4,19 @@
...
@@ -4,14 +4,19 @@
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
>
li
{
.timeline-entry
{
padding
:
$gl-padding
;
padding
:
$gl-padding
;
border-color
:
#f1f2f4
;
border-color
:
#f1f2f4
;
margin-left
:
-
$gl-padding
;
margin-left
:
-
$gl-padding
;
margin-right
:
-
$gl-padding
;
margin-right
:
-
$gl-padding
;
color
:
$gl-gray
;
color
:
$gl-gray
;
border-bottom
:
1px
solid
#f1f2f4
;
border-right
:
1px
solid
#f1f2f4
;
border-right
:
1px
solid
#f1f2f4
;
&
:last-child
{
border-bottom
:
none
;
}
.avatar
{
.avatar
{
margin-right
:
15px
;
margin-right
:
15px
;
}
}
...
@@ -33,6 +38,13 @@
...
@@ -33,6 +38,13 @@
color
:
$gl-gray
!
important
;
color
:
$gl-gray
!
important
;
}
}
}
}
.diff-file
{
border
:
1px
solid
$border-color
;
border-bottom
:
none
;
margin-left
:
0
;
margin-right
:
0
;
}
}
}
@media
(
max-width
:
$screen-xs-max
)
{
@media
(
max-width
:
$screen-xs-max
)
{
...
@@ -51,3 +63,8 @@
...
@@ -51,3 +63,8 @@
}
}
}
}
}
}
.discussion
.timeline-entry
{
margin
:
0
;
border-right
:
none
;
}
app/assets/stylesheets/pages/note_form.scss
View file @
c9d78a00
...
@@ -146,9 +146,9 @@
...
@@ -146,9 +146,9 @@
}
}
.discussion-reply-holder
{
.discussion-reply-holder
{
background
:
#f9f9f9
;
background
:
$background-color
;
padding
:
10px
15px
;
padding
:
10px
15px
;
border-top
:
1px
solid
#DDD
;
border-top
:
1px
solid
$border-color
;
}
}
}
}
...
@@ -170,6 +170,6 @@
...
@@ -170,6 +170,6 @@
background
:
#FFF
;
background
:
#FFF
;
padding
:
5px
;
padding
:
5px
;
margin-top
:
-11px
;
margin-top
:
-11px
;
border
:
1px
solid
#DDD
;
border
:
1px
solid
$border-color
;
font-size
:
13px
;
font-size
:
13px
;
}
}
app/views/projects/notes/_discussion.html.haml
View file @
c9d78a00
-
note
=
discussion_notes
.
first
-
note
=
discussion_notes
.
first
.timeline-entry
.prepend-top-default
.timeline-entry
.timeline-entry-inner
.timeline-entry-inner
.timeline-icon
.timeline-icon
=
link_to
user_path
(
note
.
author
)
do
=
link_to
user_path
(
note
.
author
)
do
...
...
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