#news-item-page .row { display: flex; justify-content: space-between; margin-top: 2em; >* { display: inline-block; width: fit-content; } .icon { height: $main-font-size; } #right { text-align: right; color: rgb(100, 100, 100); .icon { margin-right: 0.5em; } p { display: inline-block; } #date { margin-left: 1em; } } } #news-item-page { .single-image-container { height: 600px; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; pointer-events: none; } @media (max-width: 768px) { height: auto; img { width: 100%; height: auto; object-fit: contain; } } } }