mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:13:22 +08:00
more consistent positioning
This commit is contained in:
parent
81c1cc4f22
commit
a1de26d614
|
@ -359,9 +359,9 @@ export default Ember.Component.extend({
|
||||||
$picker.css({
|
$picker.css({
|
||||||
width: this.site.isMobileDevice ? this.$(window).width() - 12 : 340,
|
width: this.site.isMobileDevice ? this.$(window).width() - 12 : 340,
|
||||||
marginLeft: this.site.isMobileDevice ? 5 : -170,
|
marginLeft: this.site.isMobileDevice ? 5 : -170,
|
||||||
marginTop: this.site.isMobileDevice ? 5 : -150,
|
marginTop: -130,
|
||||||
left: this.site.isMobileDevice ? 0 : "50%",
|
left: this.site.isMobileDevice ? 0 : "50%",
|
||||||
top: this.site.isMobileDevice ? 0 : "50%",
|
top: "50%",
|
||||||
display: "flex"
|
display: "flex"
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user