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

Delay in centering #4

Open
msisto opened this issue Sep 17, 2013 · 2 comments
Open

Delay in centering #4

msisto opened this issue Sep 17, 2013 · 2 comments

Comments

@msisto
Copy link

msisto commented Sep 17, 2013

Good morning,
I'm experiencing a pretty significant delay between page load and the element being centered. About a half-second or so.

I was able to work around this by adding the following to my stylesheet:

.midway-vertical,
.midway-horizontal {
  display: none;
}

This works because Midway() applies display: inline; to the element when centering, but it still feels kind of dirty. Do you have any suggestions? Have you encountered this?

This is a pretty green-pasture project with almost no CSS to cause conflict. Just normalize.css.

@fluke
Copy link

fluke commented Oct 19, 2013

I have the same issue. This looks like a good workaround for the moment.

@roofaless
Copy link

I am having a similar issue. The vertical alignment works on load but the horizontal doesn't work until the page is resized?

display: none; seems to have fixed it though.

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

No branches or pull requests

3 participants