Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
move label away from float and space caret in right side padding
Browse files Browse the repository at this point in the history
  • Loading branch information
swilliams committed Feb 2, 2015
1 parent d07b42e commit 668b5d9
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions less/selectlist.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* TODO use bs base variables if possible */
@selectlist-horizontal-padding: 12px;
@selectlist-caret-width: 4px;

.selectlist {

&.disabled {
Expand All @@ -13,15 +17,14 @@
min-width: inherit;
}
.btn.dropdown-toggle {
white-space: normal;
white-space: nowrap;
text-align: left;
padding-right: 2 * @selectlist-horizontal-padding + @selectlist-caret-width;

.selected-label {
padding-right: 18px;
float: left;
}
.caret {
.vertical-align();
right: @btnPaddingHorizontal;
right: @selectlist-horizontal-padding;

}
}
}
}

0 comments on commit 668b5d9

Please sign in to comment.