From f3dd0b8295fb0842cfa2e1c8ddde8636f46dd165 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 8 Oct 2014 17:06:12 +0800 Subject: [PATCH] modified select scss.. --- app/assets/stylesheets/select2/select2.scss.erb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/select2/select2.scss.erb b/app/assets/stylesheets/select2/select2.scss.erb index 4b4ccc9..4e07734 100644 --- a/app/assets/stylesheets/select2/select2.scss.erb +++ b/app/assets/stylesheets/select2/select2.scss.erb @@ -329,14 +329,14 @@ .select2-results { max-height: 200px; - padding: 0 0 0 4px; + padding: 0 0 0 2px; margin: 4px 4px 4px 0; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); .select2-result-label { - padding: 3px 7px 4px; + padding: 4px; margin: 0; cursor: pointer; min-height: 1em; @@ -346,15 +346,18 @@ -ms-user-select: none; user-select: none; .thumbnail { - width: 50px; - height: 50px; + width: 80px; + height: 80px; margin-right: 10px; padding: 0; border: none; - float: left; + display: inline-block; + vertical-align: top; + box-shadow: none; } .thumbnail-text { - line-height: 50px; + display: inline-block; + width: 125px; } &:after { content: '';