pixel perfect position

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 13:25:43 +02:00
parent 2322118d4f
commit 8d91e7d493

View File

@ -339,7 +339,7 @@ export default Ember.Component.extend({
$modal.addClass("fadeIn");
$picker.css({
width: this.site.isMobileDevice ? this.$(window).width() - 10 : 340,
width: this.site.isMobileDevice ? this.$(window).width() - 12 : 340,
marginLeft: this.site.isMobileDevice ? 5 : -170,
marginTop: this.site.isMobileDevice ? 5 : -150,
left: this.site.isMobileDevice ? 0 : "50%",