Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container width #109

Open
davidmuldergc opened this issue Jan 26, 2021 · 2 comments
Open

container width #109

davidmuldergc opened this issue Jan 26, 2021 · 2 comments

Comments

@davidmuldergc
Copy link

code is based on css 100vw
would like to specify (responsive) width of display container

@ezzypzzy
Copy link

I do this for mobile:
/* src/styles/modal */ @media screen and (max-width: 481px){ #zuck-modal-content .story-viewer .slides .item > .media { width: 100%; height: unset; position: absolute; left: unset; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); margin: auto; } }

For desktop I keep original as it is, i.e. height: 100%

@ezzypzzy
Copy link

btw nice comments you've got going in the src files. @ramon82
I Said Maybe, i read them all.. ( ͡° ͜ʖ ͡°)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants