diff --git a/select2-latest.html b/select2-latest.html index e5bd6f1e..6efeca8e 100755 --- a/select2-latest.html +++ b/select2-latest.html @@ -197,6 +197,7 @@ $("#e10_3").select2({
  • Events: Reacting to External Changes
  • Disabled Mode
  • Custom Matcher Function
  • +
  • Responsive Design
  • Documentation
  • @@ -795,7 +796,7 @@ $("#e18,#e18_2").select2();

    Responsive Design - Percent Width

    Select2's width can be set to a percentage of its parent to support responsive design. The two Select2 boxes below are styled to 50% and 75% width respectively.


    -


    +


    Select2 will do its best to resolve the percent width specified via a css class, but it is not always possible. The best way to ensure that Select2 is using a percent based width is to inline the style declaration into the tag.

    diff --git a/select2-master b/select2-master index 77de06ec..a4d49628 160000 --- a/select2-master +++ b/select2-master @@ -1 +1 @@ -Subproject commit 77de06ecf3642cd59d101f48a1e5ed811a064f2b +Subproject commit a4d496281a77aecd11b42c087838e494dd4d5522