%if 0
/* 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/. */
%endif

#treecolAutoCompleteImage {
  max-width: 36px;
}

#PopupAutoCompleteRichResult .autocomplete-richlistbox {
  padding: 4px 3px;
}

#PopupAutoCompleteRichResult .autocomplete-richlistitem {
  min-height: 30px;
  font: message-box;
  border-radius: 2px;
  padding-inline-start: var(--item-padding-start);
  /* For the space after the autocomplete text we have to use a transparent
     border instead of padding, because the latter would considered part of the
     scrollable area when generating the overflow events that we use to
     constrain the autocomplete result item size. */
  border-inline-end: var(--item-padding-end) solid transparent;
}

:root[uidensity=touch] #PopupAutoCompleteRichResult .autocomplete-richlistitem {
  min-height: 40px;
}
