mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #1671 from ragibson/break-long-urls
Word break long urls in CSS to avoid overflowing site width
This commit is contained in:
@@ -3353,6 +3353,14 @@ code {
|
|||||||
/* Renamed property in CSS3 draft spec */
|
/* Renamed property in CSS3 draft spec */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix long URLs breaking out of article bounds on mobile */
|
||||||
|
|
||||||
|
a {
|
||||||
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
|
|
||||||
/* Background */
|
/* Background */
|
||||||
|
|||||||
@@ -133,6 +133,13 @@ code {
|
|||||||
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
|
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix long URLs breaking out of article bounds on mobile */
|
||||||
|
a {
|
||||||
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
/* Background */
|
/* Background */
|
||||||
.prose .chroma {
|
.prose .chroma {
|
||||||
|
|||||||
Reference in New Issue
Block a user