X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/eb2eb95bfbfe8c777c4192ea434a0e999edf3a51..ba83b8311a93602de7f733c9a9e183e3ebbb006c:/src/wolnelektury/static/2022/styles/components/_media.scss?ds=inline diff --git a/src/wolnelektury/static/2022/styles/components/_media.scss b/src/wolnelektury/static/2022/styles/components/_media.scss index 561360752..1cb758414 100644 --- a/src/wolnelektury/static/2022/styles/components/_media.scss +++ b/src/wolnelektury/static/2022/styles/components/_media.scss @@ -42,7 +42,6 @@ background: #F2F2F2; padding: 15px 24px; border-radius: 0 0 5px 5px; - max-width: 830px; margin: 0 auto; display: flex; align-items: center; @@ -76,12 +75,19 @@ z-index: 10; top: 0; left: 0; - width: 100%; height: 100%; align-items: center; justify-content: center; background-color: rgba($color-black, 0.35); display: none; + overflow-y: scroll; + padding: 150px 40px 40px 40px; + width: 100%; + + @include rwd(screen-md) { + padding: 40px 40px 40px 40px; + align-items: flex-start; + } &.is-open { display: flex;