Merge pull request #5595 from discourse/new-gfycat-onebox
New gfycat onebox
This commit is contained in:
commit
218c8e8623
2
Gemfile
2
Gemfile
|
@ -36,7 +36,7 @@ gem 'redis-namespace'
|
|||
|
||||
gem 'active_model_serializers', '~> 0.8.3'
|
||||
|
||||
gem 'onebox', '1.8.36'
|
||||
gem 'onebox', '1.8.38'
|
||||
|
||||
gem 'http_accept_language', '~>2.0.5', require: false
|
||||
|
||||
|
|
|
@ -232,7 +232,7 @@ GEM
|
|||
omniauth-twitter (1.3.0)
|
||||
omniauth-oauth (~> 1.1)
|
||||
rack
|
||||
onebox (1.8.36)
|
||||
onebox (1.8.38)
|
||||
fast_blank (>= 1.0.0)
|
||||
htmlentities (~> 4.3)
|
||||
moneta (~> 1.0)
|
||||
|
@ -469,7 +469,7 @@ DEPENDENCIES
|
|||
omniauth-oauth2
|
||||
omniauth-openid
|
||||
omniauth-twitter
|
||||
onebox (= 1.8.36)
|
||||
onebox (= 1.8.38)
|
||||
openid-redis-store
|
||||
pg (~> 0.21.0)
|
||||
pry-nav
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue