/*!
 * VisualEditor UserInterface CompletionWidget styles.
 *
 * @copyright See AUTHORS.txt
 */

.ve-ui-completionWidget {
	position: absolute;
	margin-top: 0.5em;

	.oo-ui-menuSelectWidget {
		position: static;
		border: 0;
		box-shadow: none;
	}

	.oo-ui-popupWidget-body {
		/* The contained MenuSelectWidget is already clipped (T330401) */
		/* TODO: This could be done in JS if OO.ui.ClippableElement provided a way to disable clipping */
		overflow: hidden !important; /* stylelint-disable-line declaration-no-important */
		scrollbar-gutter: auto;
	}

	.oo-ui-textInputWidget {
		min-width: 15em;
		margin-bottom: -1px;
	}
}
