Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bugfix: Avoid implosion of empty <option>s

When using select2 on

<select>
  <option value="empty"></option>
  <option>Val 1</option>
  <option>Val 2</option>
</select>

The top option will not have the correct height.
  • Loading branch information...
commit eac267b11faa0257a08290b8a50024018ff17813 1 parent b826b7f
Jens Rantil authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  select2.css
View
2  select2.css
@@ -339,6 +339,8 @@ Version: @@ver@@ Timestamp: @@timestamp@@
margin: 0;
cursor: pointer;
+ min-height: 1em;
+
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
Please sign in to comment.
Something went wrong with that request. Please try again.