aboutsummaryrefslogtreecommitdiffstats
path: root/scss
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-30 10:51:43 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-30 11:00:36 +0000
commite2a90e81cb7676d4f642268400109883f040ae10 (patch)
tree303526859c69675524a4aaf6e7c8c8800080bc99 /scss
parentsmall change in why_redirectly (diff)
downloadmmm-e2a90e81cb7676d4f642268400109883f040ae10.tar.gz
mmm-e2a90e81cb7676d4f642268400109883f040ae10.zip
fix embed in static rendered markdown
Diffstat (limited to 'scss')
-rw-r--r--scss/_content.scss10
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 {