X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a8282aa69e00292bec986722c5230ff89f96f450..fe91ba3abbf192dc851e377c1edb799aa7f1e47e:/src/wolnelektury/static/2022/styles/components/_media.scss?ds=sidebyside 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;