FIX: positioning issues with notifications-button
This commit is contained in:
parent
1f8695b16a
commit
bba26e48a0
|
@ -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);
|
||||
|
|
|
@ -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%));
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue