Skip to content

Commit 576d93b

Browse files
author
Till Brehm
committed
Adjust height of Select2 boxes for forms only and not list headers.
1 parent cc636e1 commit 576d93b

File tree

1 file changed

+7
-2
lines changed
  • interface/web/themes/default/assets/stylesheets

1 file changed

+7
-2
lines changed

interface/web/themes/default/assets/stylesheets/select2.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014
2727

2828
.select2-container .select2-choice {
2929
display: block;
30-
height: 32px;
30+
height: 26px;
3131
padding: 0 0 0 8px;
3232
overflow: hidden;
3333
position: relative;
3434

3535
border: 1px solid #aaa;
3636
white-space: nowrap;
37-
line-height: 32px;
37+
line-height: 26px;
3838
color: #444;
3939
text-decoration: none;
4040

@@ -56,6 +56,11 @@ Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014
5656
background-image: linear-gradient(to top, #eee 0%, #fff 50%);
5757
}
5858

59+
.tab-content .select2-container .select2-choice {
60+
height: 32px;
61+
line-height: 32px;
62+
}
63+
5964
html[dir="rtl"] .select2-container .select2-choice {
6065
padding: 0 8px 0 0;
6166
}

0 commit comments

Comments
 (0)