From ab9a0235b4bec06343a1349929f993bd6d82f332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 17 Oct 2014 18:32:24 +0200 Subject: [PATCH] UX: make sure onebox avatar's dimensions arent overriden in order to prevent 'bumps' when the image loads --- .../stylesheets/common/base/onebox.scss | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/common/base/onebox.scss b/app/assets/stylesheets/common/base/onebox.scss index 83b175be4e3..d00abbc3549 100644 --- a/app/assets/stylesheets/common/base/onebox.scss +++ b/app/assets/stylesheets/common/base/onebox.scss @@ -136,19 +136,16 @@ aside.onebox { } .onebox-avatar { - height: 90px; - width: 90px; + height: 90px !important; + width: 90px !important; } blockquote { aside.onebox { - - background: darken(scale-color-diff(), 5%); - border-left: 5px solid darken(scale-color-diff(), 12%); - } - } - - + background: darken(scale-color-diff(), 5%); + border-left: 5px solid darken(scale-color-diff(), 12%); + } +} // -- Onebox Github Code Blob -- pre.onebox code ol.lines li:before { @@ -186,7 +183,7 @@ pre.onebox code ol.lines li { padding-left: 5px; margin-left: 0px; border-left: 1px solid #CFCFCF; - min-height: 1.5em; //show empty li lines + min-height: 1.5em; //show empty li lines white-space: pre; } @@ -195,7 +192,7 @@ pre.onebox code li.selected{ } pre.onebox code { - white-space: normal; + white-space: normal; } //Onebox - Github - Pull request @@ -226,7 +223,7 @@ pre.onebox code { background-color:#6cc644; } .onebox-body .status_tag.merged{ - background-color:#6e5494; + background-color:#6e5494; } .onebox-body .status_tag.closed { background-color:#bd2c00;