From 190f075faefabfb7d3fe9722b24e7a1bf0f2714d Mon Sep 17 00:00:00 2001 From: Kris Aubuchon Date: Wed, 26 Feb 2014 22:00:22 -0500 Subject: [PATCH] small logos should always be proportionate --- app/assets/stylesheets/desktop/discourse.scss | 7 +++++++ app/assets/stylesheets/desktop/topic-post.scss | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/desktop/discourse.scss b/app/assets/stylesheets/desktop/discourse.scss index 8c965430930..dc6b77da0a0 100644 --- a/app/assets/stylesheets/desktop/discourse.scss +++ b/app/assets/stylesheets/desktop/discourse.scss @@ -35,6 +35,10 @@ body { .full-width { width: $medium-width; } + .extra-info-wrapper { + max-width: 720px !important; +} + } /**/ @@ -48,6 +52,9 @@ body { .full-width { width: $small-width; } + .extra-info-wrapper { + max-width: 680px !important; +} } a.no-href { diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index d8d4735f9d1..819e1b7250c 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -32,7 +32,13 @@ h1 .topic-statuses .topic-status i {margin-right: 5px;} -.logo-small {margin-right: 8px;} +.logo-small { + margin-right: 8px; + width: auto; + max-width: 80px; + height: auto; + max-height: 40px; + } .post-cloak { padding: 0; @@ -428,6 +434,7 @@ iframe { .extra-info-wrapper { float: left; width: 78%; + max-width: 800px; .topic-statuses {margin-right: 5px;} }