FIX: positioning issues with notifications-button

This commit is contained in:
Joffrey JAFFEUX 2017-09-10 11:36:57 +02:00 committed by GitHub
parent 1f8695b16a
commit bba26e48a0
4 changed files with 11 additions and 2 deletions

View File

@ -10,6 +10,8 @@ export default DropdownSelectBoxComponent.extend({
generatedHeadertext: null,
fullWidthOnMobile: true,
@computed
content() {
const items = [

View File

@ -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);

View File

@ -5,6 +5,8 @@
.select-box-row .icons {
align-self: flex-start;
width: 30px;
justify-content: center;
.d-icon {
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 60%));

View File

@ -52,6 +52,12 @@
margin-left: 8px;
}
}
.select-box {
&.categories-admin-dropdown, &.category-notifications-button, &.tag-notifications-button {
margin-top: 5px;
}
}
}
.list-container .full-width {