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