/*! * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ $ouiContextMenuWidth: $ouiSize * 16; .ouiContextMenu { width: $ouiContextMenuWidth; max-width: 100%; position: relative; overflow: hidden; transition: height $ouiAnimSpeedFast $ouiAnimSlightResistance; border-radius: $ouiBorderRadius; .ouiContextMenu__content { padding: $ouiSizeS; } } /** * 1. When there are multiple ContextMenuPanels, the ContextMenu will absolutely * position them. ContextMenuPanel will break the layout of a Popover if it's * absolutely positioned by default. */ .ouiContextMenu__panel { position: absolute; /* 1 */ } .ouiContextMenu__icon { margin-right: $ouiSizeS; } /* OUI -> EUI Aliases */ $euiContextMenuWidth: $ouiContextMenuWidth; /* End of Aliases */