Skip to content

Commit

Permalink
Bump onebox version.
Browse files Browse the repository at this point in the history
- update HTML for twitter quoted onebox
- updated CSS for twitter quoted onebox
  • Loading branch information
arpitjalan committed Jul 5, 2019
1 parent b660574 commit 5bc1fd2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ gem 'redis-namespace'

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

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ GEM
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
onebox (1.8.97)
onebox (1.8.98)
htmlentities (~> 4.3)
moneta (~> 1.0)
multi_json (~> 1.11)
Expand Down Expand Up @@ -487,7 +487,7 @@ DEPENDENCIES
omniauth-oauth2
omniauth-openid
omniauth-twitter
onebox (= 1.8.97)
onebox (= 1.8.98)
openid-redis-store
parallel_tests
pg
Expand Down
38 changes: 18 additions & 20 deletions app/assets/stylesheets/common/base/onebox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -423,39 +423,37 @@ aside.onebox.twitterstatus .onebox-body {
}
p,
.tweet {
white-space: pre-line;
padding-top: 3px;
margin-left: 70px;

.quoted-link {
display: inline;
text-decoration: none;
color: inherit;
.quoted {
border: 1px solid $primary-low;
padding: 0px 14px 0px 12px;
white-space: normal;
margin-top: 15px;

.quoted {
border: 1px solid $primary-low;
padding: 1px 25px 1px 12px;
white-space: normal;
.quoted-link {
color: inherit;
}

.quoted-title {
font-weight: bold;
margin: 5px 2px;
.quoted-title {
font-weight: bold;
margin: 5px 2px;

span {
font-weight: lighter;
color: $primary-medium;
}
span {
font-weight: lighter;
color: $primary-medium;
}
}

div {
margin-bottom: 5px;
}
div {
margin-bottom: 5px;
}
}
}
.date {
clear: left;
padding-top: 5px;
padding-top: 10px;
}
}

Expand Down

0 comments on commit 5bc1fd2

Please sign in to comment.