FIX: Minor Github onebox layout issues

FIX: Minor Github onebox layout issues

  • prevents long branch names from overflowing

  • fixes alignment of inline avatars in preview

diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss
index e707724..b735363 100644
--- a/app/assets/stylesheets/common/base/onebox.scss
+++ b/app/assets/stylesheets/common/base/onebox.scss
@@ -412,6 +412,9 @@ pre.onebox code {
 
   .branches {
     font-size: $font-down-1;
+    code {
+      word-break: break-all;
+    }
   }
 
   .github-info {
@@ -445,6 +448,7 @@ pre.onebox code {
     border-radius: 2px;
     float: none;
     margin: 0;
+    padding: 0;
     vertical-align: middle;
     max-width: none;
   }

GitHub sha: 5c5845f3