From 0c791e721e967e2b71d1cd2e2c99cc4f192bb705 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 28 Nov 2016 15:14:59 +0100 Subject: [PATCH] UX: better xkcd oneboxes --- app/assets/stylesheets/common/base/onebox.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index a966a6c01d..5b61f3cc38 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -360,3 +360,10 @@ aside.onebox.stackexchange .onebox-body { .mobile-view article.onebox-body { border-top: none; } + +.onebox.xkcd .onebox-body { + img { + max-width: 100% !important; + float: none !important; + } +}