From 5d37bce9696ddb7daaef1db5b30fa5df5c47c03a Mon Sep 17 00:00:00 2001 From: rulingcom Date: Wed, 9 Jul 2014 15:11:42 +0800 Subject: [PATCH] fix orbit_bar backend by Ray --- app/assets/stylesheets/basic/orbit_bar.css.erb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/basic/orbit_bar.css.erb b/app/assets/stylesheets/basic/orbit_bar.css.erb index 8f59e5b..b73a48f 100644 --- a/app/assets/stylesheets/basic/orbit_bar.css.erb +++ b/app/assets/stylesheets/basic/orbit_bar.css.erb @@ -7,6 +7,13 @@ position: fixed; margin-bottom: 0; } +#orbit-bar *, +#orbit-bar *:before, +#orbit-bar *:after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} #orbit-bar .orbitlogo { width: 50px; height: 40px; @@ -199,8 +206,8 @@ display: none; top: 40px; right: 20px; - width: 40%; - background: #FAFAFA; + width: 40%; + background: #FAFAFA; position: absolute; box-shadow: 0px 5px 20px #666; color: #666; @@ -244,7 +251,7 @@ #search_results{ max-height: 500px; - overflow-y: auto; + overflow-y: auto; overflow-x: hidden; } #search_results img{