Closed DJaeger closed 7 years ago
You'll have to use the custom_class
property and specify a width in percentages
If it needs customizing it shouldn't be declared as responsive in the description. How about modifying the themes to be responsive by default? For example by setting "max-width: 100%" (Just an idea to make it responsive out of my head)?
max-width: 100%
sounds right. I'll look into it later today. Thanks!
Adding
@media (max-width: 574px) {
width: 100%;
}
to .ZebraDialog
seems fine. Note that this uses Twitter Bootstrap's break-point of 574px
Sounds great. Why not adding max-width for all screen widths, just to be save?
Sounds good, I will add that also
:+1:
I have also seen, that the calculation of the dialog/modal position seems to calculate negative top positions, if the modal is higher than the viewport.
I can confirm this. I'm fighting with this issue (dialog height exceeds display height) right now. Will check if the max-height does the trick here too.
Will fix this week
On Jul 3, 2017 12:49, "Discotizer" notifications@github.com wrote:
I can confirm this. I'm fighting with this issue (dialog height exceeds display height) right now. Will check if the max-height does the trick here too.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stefangabos/Zebra_Dialog/issues/8#issuecomment-312601194, or mute the thread https://github.com/notifications/unsubscribe-auth/AAtPLc1XPMy032ajzwpuuFbo9xTUdGoRks5sKLkcgaJpZM4OHCOE .
Guys, is this ok now, can I close it?
I will check
Yes, this works for me! Thanks for the fix.
It's still exceeding the viewport height. Could it be, that its because I use the AJAX source?
Make sure you are downloading the latest commit and not the release
I have tested with the raw dist files, but I will test again and give you feedback
Could you please tell me in which way the modal dialog boxes are responsive as mentioned in the description? Within the css the dimensions are defined with pixel values and there are also no media queries Also when testing it with the demo code on mobile phones it is breaking the viewport.