@use 'variables' as *; .modal-layout { background: var(--color-bg-primary); display: flex; flex-direction: column; height: 100vh; padding: 0; } .modal-layout__mastodon { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; > div { flex: 1; max-height: 235px; position: relative; img { max-height: 100%; max-width: 100%; height: 100%; position: absolute; bottom: 0; inset-inline-start: 0; } } } @media screen and (width <= 600px) { .account-header { margin-top: 0; } } .with-zig-zag-decoration { isolation: isolate; &::after { content: ''; position: absolute; inset: auto 0 0; height: 32px; background-color: var(--color-bg-brand-softest); /* Decorative zig-zag pattern at the bottom of the page */ mask-image: url('data:image/svg+xml;utf8,'); mask-position: bottom; mask-repeat: repeat-x; z-index: -1; } }