mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 07:30:16 +08:00
pixel perfect position
This commit is contained in:
parent
2322118d4f
commit
8d91e7d493
|
@ -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%",
|
||||
|
|
Loading…
Reference in New Issue
Block a user