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

.ouiFlyoutBody {
  flex-grow: 1;
  overflow-y: hidden;
  height: 100%;

  .ouiFlyoutBody__overflow {
    @include ouiYScrollWithShadows;

    &.ouiFlyoutBody__overflow--hasBanner {
      @include ouiOverflowShadow('y', 'end');
    }
  }

  .ouiFlyoutBody__banner .ouiCallOut {
    border: none; // Remove border from callout when it is a flyout banner
    border-radius: 0; // Ensures no border-radius in all themes
  }
}
