Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
718021ff
Commit
718021ff
authored
May 10, 2016
by
Sheetal Umesh Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove extra margin set by first and last p in an annotation body.
parent
fe597913
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
markdown.scss
h/static/styles/markdown.scss
+14
-2
No files found.
h/static/styles/markdown.scss
View file @
718021ff
...
@@ -43,7 +43,19 @@
...
@@ -43,7 +43,19 @@
.markdown-body
{
.markdown-body
{
@include
styled-text
;
@include
styled-text
;
p
{
// Margin between bottom of ascent of username and top of
margin
:
0
;
// x-height of annotation-body should be ~15px.
// Remove additional margin-top added by the first p within
// the annotation-body
p
:first-child
{
margin-top
:
0
;
}
// Margin between bottom of ascent of annotation-body and top of
// ascent of annotation-footer should be ~15px in threaded-replies
// and 20px in the top level annotation.
// Remove additional margin-bottom added by the last p within
// the annotation-body
p
:last-child
{
margin-bottom
:
0
;
}
}
}
}
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