aupac / ember-aupac-typeahead

ember-cli ajax typeahead search component
MIT License
25 stars 38 forks source link

Use of !important in CSS is making custom styling difficult and hard to debug #70

Closed mtHuberty closed 5 years ago

mtHuberty commented 6 years ago

Currently working in an open source project that uses ember-aupac-typeahead. This module appears to place a div behind the search bar with a white background and the use of !important on this div makes it difficult to use this module while doing custom styling. I see that !important is used in multiple places in the .css file, but the lines that gave me issue were these:

.aupac-typeahead.tt-hint[readonly] {
  background-color: white !important;
}

I would suggest refactoring to remove all instances of !important.