Add notification messages max-width
This commit is contained in:
parent
bb705ae863
commit
f40c3e6b81
2 changed files with 4 additions and 3 deletions
|
@ -62,7 +62,7 @@ a { color: black }
|
|||
.notification .message-outer { display: table-row }
|
||||
.notification .buttons { display: table-cell; vertical-align: top; padding-top: 9px; }
|
||||
.notification.long .body { padding-top: 10px; padding-bottom: 10px }
|
||||
.notification .message { display: table-cell; vertical-align: middle; }
|
||||
.notification .message { display: table-cell; vertical-align: middle; max-width: 400px; white-space: normal; }
|
||||
|
||||
.notification.visible { max-width: 350px }
|
||||
|
||||
|
|
|
@ -835,7 +835,7 @@ $.extend( $.easing,
|
|||
};
|
||||
})(this)), timeout);
|
||||
}
|
||||
width = elem.outerWidth();
|
||||
width = Math.min(elem.outerWidth(), 580);
|
||||
if (!timeout) {
|
||||
width += 20;
|
||||
}
|
||||
|
@ -901,6 +901,7 @@ $.extend( $.easing,
|
|||
|
||||
}).call(this);
|
||||
|
||||
|
||||
/* ---- src/Ui/media/Wrapper.coffee ---- */
|
||||
|
||||
|
||||
|
@ -2091,4 +2092,4 @@ $.extend( $.easing,
|
|||
}
|
||||
});
|
||||
|
||||
}).call(this);
|
||||
}).call(this);
|
Loading…
Reference in a new issue