.asset-display { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; } .asset-image, .asset-video { margin : 0; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; } .asset-video { border: 1px solid #d0d0d0; margin: 16px; padding: 6px; } .vertical-split .asset-display { height: 90vh; } .asset-description { white-space: pre-line; }