From 1ef4a12a9d5d2dbd8e9e3eb9f3bd40fb240e3616 Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Fri, 11 Jul 2014 18:04:32 -0400 Subject: [PATCH] fixing onebox image width bug --- app/assets/stylesheets/desktop/topic-post.scss | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index cd0bc450f71..d7ac9748e18 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -329,10 +329,6 @@ a.star { float: left; } -#main a.star.starred { - text-shadow: none !important; -} - .topic-map { margin: 20px 0 0 0; background: scale-color(scale-color-diff(), $lightness: 40%); @@ -767,9 +763,9 @@ blockquote > *:last-child { &.highlighted { background-color: scale-color($tertiary, $lightness: 85%); } - img:not(.avatar), svg { - max-width: 100% !important; - height: auto !important; + .cooked p img, .cooked p svg { + max-width: 100%; + height: auto; } } .topic-avatar {