.modal-layout { background: $ui-base-color url('data:image/svg+xml;utf8,') repeat-x bottom fixed; display: flex; flex-direction: column; height: 100vh; padding: 0; } .modal-layout__mastodon { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; > * { flex: 1; max-height: 235px; background: url('../images/cigarmanwoman.svg') no-repeat left bottom / contain; } } @media screen and (max-width: 600px) { .account-header { margin-top: 0; } }