gecko-dev/toolkit/content/autocomplete.css
Emilio Cobos Álvarez afd00e7267 Bug 1823515 - Don't shrink richlistitems. r=Gijs
For the same reasons we don't want to let menuitems shrink
(bug 1822771).

There's another issue here (we have crop="end" on some of these labels,
but it doesn't work and never has because we have no value attribute).

But this returns to the pre-regression behavior.

Differential Revision: https://phabricator.services.mozilla.com/D173090
2023-03-21 10:01:18 +00:00

26 lines
695 B
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* Apply crisp rendering for favicons at exactly 2dppx resolution */
@media (resolution: 2dppx) {
.ac-site-icon {
image-rendering: -moz-crisp-edges;
}
}
.autocomplete-richlistbox > richlistitem {
flex-direction: row;
overflow: hidden;
}
.ac-title-text,
.ac-url-text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}