Skip to content

A platform for community discussion. Free, open, simple.

UX: show onebox error preview image as favicon (#11810)

Arpit Jalan15b5bd4e145d
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;
+}