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

CSS Issue -> Modal window render out of screen #2697

Closed
SajagTiwari opened this issue Apr 2, 2018 · 3 comments
Closed

CSS Issue -> Modal window render out of screen #2697

SajagTiwari opened this issue Apr 2, 2018 · 3 comments

Comments

@SajagTiwari
Copy link

the css comes with the CDN link

and the css that come with semantic-ui-css package are different.
I am using the css come with package that create problem with modal window.
half of the modal window render out of the winow screen.
snapshot

@welcome
Copy link

welcome bot commented Apr 2, 2018

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@ekrokowski
Copy link

This happens because the newer Version of Semantic-ui-css doesn't use the CSS position: fixed; top: 50%; left: 50%; anymore. Semantic-UI-React however still applies margin-top: -(half-height)px to the .ui.modal-element.

This happens when using Semantic-UI-CSS Version 2.3.X. Forcing version 2.2.12 fixes this problem for now.

@brianespinosa
Copy link
Member

Duplicate of #2550

@brianespinosa brianespinosa marked this as a duplicate of #2550 Apr 2, 2018
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