Bump onebox version.

- update HTML for twitter quoted onebox
- updated CSS for twitter quoted onebox
This commit is contained in:
Arpit Jalan 2019-07-05 19:35:36 +05:30
parent b6605749a0
commit 5bc1fd23b0
3 changed files with 21 additions and 23 deletions

View File

@ -46,7 +46,7 @@ gem 'redis-namespace'
gem 'active_model_serializers', '~> 0.8.3' gem 'active_model_serializers', '~> 0.8.3'
gem 'onebox', '1.8.97' gem 'onebox', '1.8.98'
gem 'http_accept_language', '~>2.0.5', require: false gem 'http_accept_language', '~>2.0.5', require: false

View File

@ -238,7 +238,7 @@ GEM
omniauth-twitter (1.4.0) omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1) omniauth-oauth (~> 1.1)
rack rack
onebox (1.8.97) onebox (1.8.98)
htmlentities (~> 4.3) htmlentities (~> 4.3)
moneta (~> 1.0) moneta (~> 1.0)
multi_json (~> 1.11) multi_json (~> 1.11)
@ -487,7 +487,7 @@ DEPENDENCIES
omniauth-oauth2 omniauth-oauth2
omniauth-openid omniauth-openid
omniauth-twitter omniauth-twitter
onebox (= 1.8.97) onebox (= 1.8.98)
openid-redis-store openid-redis-store
parallel_tests parallel_tests
pg pg

View File

@ -423,39 +423,37 @@ aside.onebox.twitterstatus .onebox-body {
} }
p, p,
.tweet { .tweet {
white-space: pre-line;
padding-top: 3px; padding-top: 3px;
margin-left: 70px; margin-left: 70px;
.quoted-link { .quoted {
display: inline; border: 1px solid $primary-low;
text-decoration: none; padding: 0px 14px 0px 12px;
color: inherit; white-space: normal;
margin-top: 15px;
.quoted { .quoted-link {
border: 1px solid $primary-low; color: inherit;
padding: 1px 25px 1px 12px; }
white-space: normal;
.quoted-title { .quoted-title {
font-weight: bold; font-weight: bold;
margin: 5px 2px; margin: 5px 2px;
span { span {
font-weight: lighter; font-weight: lighter;
color: $primary-medium; color: $primary-medium;
}
} }
}
div { div {
margin-bottom: 5px; margin-bottom: 5px;
}
} }
} }
} }
.date { .date {
clear: left; clear: left;
padding-top: 5px; padding-top: 10px;
} }
} }