mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-07 16:06:12 +02:00
Resources: very long links and wide images break mobile
This commit is contained in:
@@ -96,6 +96,10 @@ export const MarkdownWrapper = styled.div`
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
.token.boolean,
|
.token.boolean,
|
||||||
.token.number,
|
.token.number,
|
||||||
@@ -119,6 +123,7 @@ export const MarkdownWrapper = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
word-break: break-all;
|
||||||
color: ${props => props.theme.main.link};
|
color: ${props => props.theme.main.link};
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user