bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Responsive Modal

Open ShaneSheppard opened this issue 14 years ago • 5 comments

Is there going to be a fix for using the modal.js inline with the responsive.css?

Currently testing on an iphone, the modal appears at the bottom of the screen and has to be scrolled down too.

This is not very user friendly and is now the only issue i seem to be having with your framework.

ShaneSheppard avatar Mar 22 '12 10:03 ShaneSheppard

Modal you mean?

adamjgrant avatar Mar 22 '12 16:03 adamjgrant

Yes, sorry about the typo.

ShaneSheppard avatar Mar 22 '12 16:03 ShaneSheppard

I encounter the same problem when I updated Bootstrap recently, I think it comes from a change in responsive.less:

.modal {
   &.fade.in { top: auto; }
}

For example, replacing "top: auto" to "top: 5%" solve that problem for me.

netatoo avatar Mar 23 '12 21:03 netatoo

I still see this issue with 2.0.2 and trying the above fix. Doesn't work. Even in Chrome with the responsive css and making your window <400, the modal still displays at the bottom of the screen.

Are there any other fixes around for this? Thanks !!

ibrent avatar Mar 25 '12 05:03 ibrent

Closing as dupe of #2130.

mdo avatar Mar 26 '12 00:03 mdo