From 15b5bd4e145dbb71102b476b7cb6732c4111a52b Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 22 Jan 2021 20:05:28 +0530 Subject: [PATCH] UX: show onebox error preview image as favicon (#11810) --- app/assets/stylesheets/common/base/onebox.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index aefd5bf5e80..b8c0a81bbaa 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -322,8 +322,7 @@ aside.onebox { } } -aside.onebox .onebox-body .onebox-avatar, -aside.onebox.preview-error .site-icon { +aside.onebox .onebox-body .onebox-avatar { max-height: none; max-width: none; height: 60px; @@ -804,3 +803,9 @@ aside.onebox.stackexchange .onebox-body { } } } + +aside.onebox.preview-error .site-icon { + width: 16px; + height: 16px; + margin-right: 0.5em; +}