Skip to content

Commit

Permalink
[#2744] Give the text in the select boxes breathing room
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Jul 25, 2012
1 parent b31109b commit 9472a94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ckan/public/base/css/main.css
Expand Up @@ -5498,6 +5498,11 @@ textarea {
.select2-container-multi .select2-drop {
margin-top: -2px;
}
.select2-container .select2-results li {
line-height: 18px;
padding-top: 4px;
padding-bottom: 4px;
}
.control-full .select2-container {
width: 520px !important;
}
Expand Down
6 changes: 6 additions & 0 deletions ckan/public/base/less/forms.less
Expand Up @@ -569,6 +569,12 @@ textarea {
margin-top: -2px;
}

.select2-container .select2-results li {
line-height: 18px;
padding-top: 4px;
padding-bottom: 4px;
}

.control-full .select2-container {
// Important is bad but select2 incorrectly calculates the width and
// sets it on the element.
Expand Down

0 comments on commit 9472a94

Please sign in to comment.