Skip to content

fix paragraph spacing #367

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix paragraph spacing
Signed-off-by: shmck <[email protected]>
  • Loading branch information
ShMcK committed Jun 16, 2020
commit ea6fcceb6c1b66c90809470dd44a6e30fa925233
4 changes: 4 additions & 0 deletions web-app/src/components/Markdown/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,7 @@ pre tt {
background-color: transparent;
border: none;
}

.coderoad-markdown > p {
margin-bottom: 0.5rem;
}
2 changes: 1 addition & 1 deletion web-app/stories/Step.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Step from '../src/containers/Tutorial/components/Step'
import SideBarDecorator from './utils/SideBarDecorator'

const stepText =
'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'
'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'

const paragraphText = `
### Code
Expand Down