FIX: positioning issues with notifications-button
This commit is contained in:
@@ -10,6 +10,8 @@ export default DropdownSelectBoxComponent.extend({
|
||||
|
||||
generatedHeadertext: null,
|
||||
|
||||
fullWidthOnMobile: true,
|
||||
|
||||
@computed
|
||||
content() {
|
||||
const items = [
|
||||
|
||||
@@ -104,8 +104,7 @@ export default Ember.Component.extend({
|
||||
const relativeLeft = this.$().offset().left - $(window).scrollLeft();
|
||||
options.left = margin - relativeLeft;
|
||||
options.width = windowWidth - margin * 2;
|
||||
options.maxWidth = "auto";
|
||||
options.minWidth = "auto";
|
||||
options.maxWidth = options.minWidth = "unset";
|
||||
} else {
|
||||
const offsetLeft = boundingRect.left;
|
||||
const bodyWidth = this.$(".select-box-body").outerWidth(false);
|
||||
|
||||
Reference in New Issue
Block a user