﻿/* #1338: only an autocomplete list actually covering its own active input is adjusted. */
.mud-popover.kv-dropdown {
    position: fixed !important;
    top: var(--kv-top) !important;
    left: var(--kv-left) !important;
    width: var(--kv-width) !important;
    min-width: var(--kv-width) !important;
    max-width: var(--kv-width) !important;
    max-height: var(--kv-height) !important;
    /* #1338 round 2 (JJ): `transform: none` throws away MudBlazor's own transform, and that
       transform is what positioned the list sideways -- so the list has to be given a left of
       its own or it can end up somewhere other than under its box. The JS sets both from the
       input's rect, clamped to stay on screen. */
    transform: none !important;
    overflow-y: auto !important;
}
