UNPKG

@vaadin/combo-box

Version:

Web Component for displaying a list of items with filtering

31 lines (27 loc) 813 B
/** * @license * Copyright (c) 2015 - 2026 Vaadin Ltd. * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import { css } from 'lit'; export const comboBoxScrollerStyles = css` :host { /* Fixes scrollbar disappearing when 'Show scroll bars: Always' enabled in Safari */ box-shadow: 0 0 0 white; display: block; min-height: 1px; overflow: auto; /* Fixes item background from getting on top of scrollbars on Safari */ transform: translate3d(0, 0, 0); } #selector { border: 0 solid transparent; border-width: var(--vaadin-item-overlay-padding, 4px); position: relative; forced-color-adjust: none; min-height: var(--_items-min-height, auto); } #selector > * { forced-color-adjust: auto; } `;