Skip to content
Open
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
3 changes: 2 additions & 1 deletion portal/src/components/gofp/GoFPMetadataPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import useGofp from "../../contexts/GoFPContext";
import useGofpContract from "../../hooks/useGofpConract";
import ReactMarkdown from "react-markdown";
import remarkGfm from "remark-gfm";
import remarkBreaks from "remark-breaks";

const MetadataPanel = () => {
const web3ctx = useContext(Web3Context);
Expand Down Expand Up @@ -95,7 +96,7 @@ const MetadataPanel = () => {
fontWeight="700"
lineHeight="160%"
>
<ReactMarkdown className="markdown" remarkPlugins={[remarkGfm]}>
<ReactMarkdown className="markdown" remarkPlugins={[remarkGfm, remarkBreaks]}>
{stage.lore}
</ReactMarkdown>
</Flex>
Expand Down
4 changes: 1 addition & 3 deletions portal/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,4 @@ blockquote {
font-weight: 400;
line-height: 140%;
}
blockquote p {
display: inline;
}