diff options
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_content.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scss/_content.scss b/scss/_content.scss index 5b6e73b..7aa7b2c 100644 --- a/scss/_content.scss +++ b/scss/_content.scss @@ -11,7 +11,6 @@ .markdown, .markdown > p, - .markdown > p > a, .markdown > a { > img, > video { display: block; @@ -21,6 +20,10 @@ padding: 0 2em; box-sizing: border-box; } + + a, p { + max-width: 100%; + } } .markdown { @@ -38,6 +41,7 @@ } .embed { + display: block; width: inherit; height: inherit; @@ -55,6 +59,10 @@ margin: 0.2em; background: $gray-bright; } + + > *:not(.description) { + max-width: 100%; + } } pre > code { |
