From 30cd341b0d56f8e2777d22610cde10f739be9de6 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 26 Jan 2015 11:00:18 -0500 Subject: [PATCH] UX: Max width of .gifv videos --- app/assets/stylesheets/common/base/topic-post.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index 53f911cef78..8effadd817b 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -33,6 +33,12 @@ a { word-wrap: break-word; } } + +.cooked, #wmd-preview { + video { + max-width: 100%; + } +} // we use aside to hold expandable quotes (versus, say, static blockquotes) aside.quote { margin-top: 1em;