Skip to main content
added 171 characters in body; edited tags
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

OAuth Dialog has all content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-width set which shifts the centered box outside of the dialog viewport.

Here's the problem: OAuth fail

OAuth fail

And here's what it should look like, after I have manually removed the min-width and margin of the body:

OAuth correctOAuth correct

Is there any way to solve this, is this expected behaviourbehavior, or is this indeed a bug?

OAuth Dialog has content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-width set which shifts the centered box outside of the dialog viewport.

Here's the problem: OAuth fail

And here's what it should look like, after I have manually removed the min-width and margin of the body:

OAuth correct

Is there any way to solve this, is this expected behaviour, or is this indeed a bug?

OAuth Dialog has all content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-width set which shifts the centered box outside of the dialog viewport.

Here's the problem:

OAuth fail

And here's what it should look like, after I have manually removed the min-width and margin of the body:

OAuth correct

Is there any way to solve this, is this expected behavior, or is this indeed a bug?

Source Link
NikxDa
  • 141
  • 2

OAuth Dialog has content positioned off-screen

When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-width set which shifts the centered box outside of the dialog viewport.

Here's the problem: OAuth fail

And here's what it should look like, after I have manually removed the min-width and margin of the body:

OAuth correct

Is there any way to solve this, is this expected behaviour, or is this indeed a bug?