/*!
 * 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.
 */

@mixin ouiPageRestrictWidth {
  &--restrictWidth-default,
  &--restrictWidth-custom {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  &--restrictWidth-default {
    max-width: $ouiPageDefaultMaxWidth;
  }
}


/* OUI -> EUI Aliases */
@mixin euiPageRestrictWidth { @include ouiPageRestrictWidth; }
/* End of Aliases */