more consistent positioning

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 14:18:38 +02:00
parent 81c1cc4f22
commit a1de26d614
1 changed files with 2 additions and 2 deletions

View File

@ -359,9 +359,9 @@ export default Ember.Component.extend({
$picker.css({
width: this.site.isMobileDevice ? this.$(window).width() - 12 : 340,
marginLeft: this.site.isMobileDevice ? 5 : -170,
marginTop: this.site.isMobileDevice ? 5 : -150,
marginTop: -130,
left: this.site.isMobileDevice ? 0 : "50%",
top: this.site.isMobileDevice ? 0 : "50%",
top: "50%",
display: "flex"
});
} else {