Skip to content

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

UX: fixes onebox favicon vertical alignment (#7926)

Joffrey JAFFEUX02e27b5cff5a
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 0696e4bf51a..eecdbb6c936 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -87,7 +87,7 @@ a.loading-onebox {
@mixin onebox-favicon($class, $image) {
&.#{$class} .source {
- background: image-url("favicons/#{$image}.png") no-repeat;
+ background: image-url("favicons/#{$image}.png") no-repeat 0% 50%;
background-size: 16px 16px;
padding-left: 20px;
}