SU-SWS/stanford_profile_helper

View on GitHub
modules/jumpstart_ui/lib/scss/components/card.component.scss

Summary

Maintainability
Test Coverage
@charset 'UTF-8';
@import '../jumpstart_ui.config';
@import 'decanter/core/src/scss/decanter-no-markup';
@import 'decanter/core/src/scss/components/card/index';

.su-card {
  .media-entity-wrapper.video {
    @include aspect-ratio(16, 9, '> div');

    iframe {
      &.media-oembed-content {
        height: 100%;
        min-height: unset;
        width: 100%;
      }
    }
  }

  .image {
    img,
    figure {
      display: block;
    }
  }
}