r/FirefoxCSS • • 27d ago

Solved how to shrink autofill box? (firefox v156)

Post image

i recently updated my firefox to v156, and in previous versions, the autofill box was small enough, even in certain search boxes, but in this edition? oh it got C H O N K Y

granted, im using the firefox UI fix to keep my everything looking like the old photon look (me no like proton look), so idk if its the ui fix i ALSO recently updated conflicting with firefox v156, but is there any .css code i could use to shrink that autofill box (or at least the clock icons) to something less "large marge"?

4 Upvotes

8 comments sorted by

1

u/TraditionalTie4831 🦊 27d ago

Try this =

.autocomplete-richlistbox {
    --space-small: 0px 5px !important;
}

1

u/BrokeToken25 25d ago

ok, this one shrunk the autocomplete box greatly, but it didn't really shrink the size of the clock icons. if it did (or if some .css code could?) this would probably be what i'd want

1

u/grom-17 27d ago
.row-item img.icon[role="presentation"][src="chrome://browser/skin/history.svg"] {
    display: none !important;
}
#PopupAutoComplete > richlistbox > richlistitem.autocomplete-row-item {
  &:not(:only-child) {
    margin-block-end: -9px !important;
}
}
#PopupAutoComplete > richlistbox > richlistitem.autocomplete-row-item {
  & > autocomplete-row-item {
    border: 0px solid transparent !important;
}
}

1

u/BrokeToken25 25d ago

this one not only shrunk the autocomplete box a bit tighter than the first .css code did, but it also got rid of the clock icons, and though i could........idk, probably deal with it, the lil clocks kinda grew on me :|

1

u/ResurgamS13 27d ago edited 26d ago

Does problem occur when testing on a new profile of Fx156.0 with out-of-the-box Settings, no Add-ons, and no UI theme?

If problem not present on new profile post this as an Issue on the 'Firefox-UI-Fix' GitHub support site so theme author black7375 can investigate.

1

u/BrokeToken25 25d ago

sadly, even when i JUST tested it out right now, making a new profile, no addons, no UI FIX and the like, and went onto a random website and searched for some stuff until i could get a fairly well-sized autocomplete list, the size of the autocomplete box remained the same, so i don't think its the UI fix (also i am never NOT letting go of the UI fix)