mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 14:37:05 +03:00
publish: fixes codeblock wrapping behavior
fixes https://github.com/urbit/landscape/issues/324
This commit is contained in:
parent
5020ab48e9
commit
93d5302b16
@ -109,7 +109,7 @@ export function Note(props: NoteProps & RouteComponentProps) {
|
||||
<Text ml={2}>{adminLinks}</Text>
|
||||
</Box>
|
||||
</Col>
|
||||
<Box color="black" className="md" style={{ overflowWrap: "break-word" }}>
|
||||
<Box color="black" className="md" style={{ overflowWrap: "break-word", overflow: "hidden" }}>
|
||||
<ReactMarkdown source={body} linkTarget={"_blank"} />
|
||||
</Box>
|
||||
<NoteNavigation
|
||||
|
@ -192,6 +192,7 @@
|
||||
}
|
||||
.md code, .md pre {
|
||||
font-family: "Source Code Pro", mono;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.md ul>li, .md ol>li {
|
||||
line-height: 1.5;
|
||||
|
Loading…
Reference in New Issue
Block a user