Bump onebox version.

Bump onebox version.

  • update HTML for twitter quoted onebox
  • updated CSS for twitter quoted onebox
diff --git a/Gemfile b/Gemfile
index 8d2f0b7..e469173 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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
 
diff --git a/Gemfile.lock b/Gemfile.lock
index d257743..14fdc28 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -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)
@@ -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
diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index 922fb9b..65e6409 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -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;
   }
 }

GitHub sha: 5bc1fd23

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: