@import "../../../scss/variables";

image-preview {
  display: block;
  max-width: 80%;
  max-height: 80%;
  height: auto;

  @media only screen and (max-width: $tablet) {
    width: 90%;
  }

  img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: auto;
    @include mat-elevation(3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
}