Skip to content

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

FEATURE: Style new gfycat onebox

Rafael dos Santos Silva464475778545
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 61d92687fe2..c692cfceb7d 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -463,10 +463,22 @@ aside.onebox.stackexchange .onebox-body {
.label2 {
float: right;
}
- .site-icon {
- width: 16px;
- height: 16px;
- margin-right: 3px;
+}
+
+.onebox {
+ &.whitelistedgeneric,
+ &.gfycat {
+ .site-icon {
+ width: 16px;
+ height: 16px;
+ margin-right: 3px;
+ }
+ }
+}
+
+.onebox.gfycat p {
+ span.label1 a {
+ white-space: nowrap;
}
}