commit 7e617469ccc104acd1e355be2f8e90a8f26b0c19
parent 197d31da35264fa54668d4bec9169c4ba3403463
Author: St John Karp <stjohn@fuzzjunket.com>
Date: Sat, 25 Aug 2018 15:50:23 -0700
Style videos so they don't overflow their containers
Set a max width, same as with image attachments.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/css/styles.css b/public/css/styles.css
@@ -46,7 +46,7 @@ article {
padding: 1em;
}
-article img {
+article figure img, article video {
max-width: 100%;
}