diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-14 21:38:30 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-14 21:38:30 -0400 |
commit | 1b19121189356879ca39a19ba241a04ff4786b62 (patch) | |
tree | bd2cf7d1e912302a523dbf07ccec3119d89ddf93 | |
parent | 6b1fea9baba7c54e58c0e414ad622b25eaa154b0 (diff) | |
download | jquery-ui-1b19121189356879ca39a19ba241a04ff4786b62.tar.gz jquery-ui-1b19121189356879ca39a19ba241a04ff4786b62.zip |
Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.
-rw-r--r-- | demos/autocomplete/combobox.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index e2ef40dd9..051d55e45 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -18,7 +18,7 @@ position: relative; display: inline-block; } - .ui-button { + .ui-combobox-toggle { position: absolute; top: 0; bottom: 0; @@ -28,7 +28,7 @@ *height: 1.7em; *top: 0.1em; } - .ui-autocomplete-input { + .ui-combobox-input { margin: 0; padding: 0.3em; } @@ -75,7 +75,7 @@ .appendTo( wrapper ) .val( value ) .attr( "title", "" ) - .addClass( "ui-state-default" ) + .addClass( "ui-state-default ui-combobox-input" ) .autocomplete({ delay: 0, minLength: 0, @@ -128,7 +128,7 @@ text: false }) .removeClass( "ui-corner-all" ) - .addClass( "ui-corner-right ui-button-icon" ) + .addClass( "ui-corner-right ui-combobox-toggle" ) .click(function() { // close if already visible if ( input.autocomplete( "widget" ).is( ":visible" ) ) { |