Reputation: 14081
I am using CSS class ui-autocomplete
(as explained in theming or here) to adjust my jQuery / jqGrid style. Works fine for the font size, but not for line-height
.
The line-height
is still 1.5 (want 1.0), as of the CSS matching in .ui-menu .ui-menu-item a
. I do not want to override the global jQuery css style, as it is used elsewhere.
As you can see below, the line-height
is due to the li
style, while my font-size change is applied to the surrounding ul
element. What would be the easiest way to set the line-height
only for this autocomplete?
Upvotes: 1
Views: 263
Reputation: 3986
Try to use !important for CSS property for line-height.
.ui-autocomplete {
line-height: xx!important;
}
Upvotes: 1