Skip to content

Commit

Permalink
Fix html elemet hierarchy (#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonkopliku committed Apr 28, 2022
1 parent db20236 commit 3dab27a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion assets/css/markdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
background-color: #f8f8f8;
}
p {
margin: 1em 0;
line-height: 1.5em;
}
table {
Expand Down
14 changes: 6 additions & 8 deletions assets/js/components/ChecksCatalog/ChecksCatalog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,12 @@ const ChecksCatalog = () => {
</div>
<div className="mt-2 sm:flex sm:justify-between">
<div className="sm:flex">
<p className="flex items-center text-sm">
<ReactMarkdown
className="markdown"
remarkPlugins={[remarkGfm]}
>
{check.description}
</ReactMarkdown>
</p>
<ReactMarkdown
className="markdown text-sm"
remarkPlugins={[remarkGfm]}
>
{check.description}
</ReactMarkdown>
</div>
</div>
</div>
Expand Down

0 comments on commit 3dab27a

Please sign in to comment.