mike-tutkowski commented on a change in pull request #2787: Fix wizards (new
instance and new zone) div width problem in Chrome
URL: https://github.com/apache/cloudstack/pull/2787#discussion_r207363047
##########
File path: ui/scripts/ui-custom/instanceWizard.js
##########
@@ -1359,18 +1359,18 @@
$wizard.find('div.data-disk-offering
span.custom-disk-size').html(_s(old));
});
+ var wizardWidth = 950;
+ if($.browser.mozilla){
+ wizardWidth = 896;
+ }
var wizardDialog = $wizard.dialog({
title: _l('label.vm.add'),
- width: 896,
+ width: wizardWidth,
Review comment:
It's a bit difficult to extra from my MacBook what its exact resolution is.
It likes you to choose Big, Default, Small sizes without telling you the
details. On the Windows OS I'm running in a VM, though, it says it's 1276x733.
I suspect my MacBook's display itself is more like your resolution.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services