Skip to content

Commit e207b7d

Browse files
authored
Merge pull request #367 from coderoad/fix/paragraph-spacing
fix paragraph spacing
2 parents 2b968cf + ea6fcce commit e207b7d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: web-app/src/components/Markdown/style.css

+4
Original file line numberDiff line numberDiff line change
@@ -186,3 +186,7 @@ pre tt {
186186
background-color: transparent;
187187
border: none;
188188
}
189+
190+
.coderoad-markdown > p {
191+
margin-bottom: 0.5rem;
192+
}

Diff for: web-app/stories/Step.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Step from '../src/containers/Tutorial/components/Step'
66
import SideBarDecorator from './utils/SideBarDecorator'
77

88
const stepText =
9-
'This is a long paragraph of step text intended to wrap around the side after a short period of writing to demonstrate text wrap among other things'
9+
'This is a long paragraph of step text intended to wrap around the side after a short period of writing to demonstrate text wrap among other things\n\nIt has a second paragraph'
1010

1111
const paragraphText = `
1212
### Code

0 commit comments

Comments
 (0)