Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8322 closed bug (fixed)

Autocomplete: Combobox demo should not override .ui-button styles

Reported by: VitalyT Owned by:
Priority: minor Milestone: 1.8.21
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:

Description

In the example for Autocomplete->Combobox the code suggests use of style as below, which gets into conflict with any button you have in the UI. UI sample should not be detached from the real-world use, and not suggest use of styles that will screw up everything else.

.ui-button {

position: absolute; top: 0; bottom: 0; margin-left: -1px; padding: 0; /* adjust styles for IE 6/7 */ *height: 1.7em; *top: 0.1em;

}

Change History (4)

comment:1 Changed 11 years ago by Scott González

Component: ui.coreui.autocomplete
Summary: Example for Autocomplete->Combobox is plain badAutocomplete: Combobox demo should not override .ui-button styles

comment:2 Changed 11 years ago by Scott González

Resolution: fixed
Status: newclosed

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.

Changeset: 1b19121189356879ca39a19ba241a04ff4786b62

comment:3 Changed 11 years ago by Scott González

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles. (cherry picked from commit 1b19121189356879ca39a19ba241a04ff4786b62)

Conflicts:

demos/autocomplete/combobox.html

Changeset: 637d102e59b4b8e6bf4f631bdbe8d298e5874f63

comment:4 Changed 11 years ago by Scott González

Milestone: 1.91.8.21
Note: See TracTickets for help on using tickets.