.opa-media-library-dialog {

  &.opa-dialog-100 {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }

  &.opa-dialog-80 {
    width: 80%;
    max-width: 80%;
    height: 630px;
    max-height: 630px;
  }

  &.opa-dialog-55 {
    width: 55%;
    max-width: 55%;
    height: 654px;
    max-height: 654px;
  }

  &.opa-dialog-40 {
    width: 40%;
    max-width: 40%;
    height: 654px;
    max-height: 654px;
  }

  md-dialog-content {
    flex-grow: 1;

    opa-media-library {
      flex-grow: 1;
    }
  }

}

.opa-media-library-dialog {

  &.opa-dialog-100 {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
  }

  &.opa-dialog-80 {
    width: 80%;
    max-width: 80%;
    height: 100%;
    max-height: 630px;
  }

  &.opa-dialog-55 {
    width: 55%;
    max-width: 55%;
    height: 100%;
    max-height: 654px;
  }

  &.opa-dialog-40 {
    width: 40%;
    max-width: 40%;
    height: 100%;
    max-height: 654px;
  }

  md-dialog-content {
    flex-grow: 1;

    opa-media-library {
      flex-grow: 1;
    }
  }

}

Fix media library dialog height on small window
Fix media library dialog height on small window
