From 77033f4855ad54ee577d56cd3288198bfc8fddd5 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 8 Feb 2017 17:18:53 -0800 Subject: [PATCH] simpler twitter onebox CSS that works everywhere --- app/assets/stylesheets/common/base/onebox.scss | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 52ff78ef4c..d0b8d58e4f 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -300,11 +300,9 @@ aside.onebox.twitterstatus .onebox-body { height: 48px; } p, .tweet { - float: left; - display: inline-block; white-space: pre-wrap; padding-top: 3px; - width: 580px; + margin-left: 58px; } .date { clear: left; @@ -313,11 +311,6 @@ aside.onebox.twitterstatus .onebox-body { } } -// only use percentages on mobile -.mobile-view .onebox.twitterstatus div.tweet { - width: 81%; -} - // Onebox - Imgur - Album .onebox.imgur-album { .outer-box {