mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Fix egw messages in popup are wrongly positioned
This commit is contained in:
parent
ed50291ad4
commit
8b83ed85d3
@ -72,6 +72,10 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
||||
var jQuery = _wnd.jQuery;
|
||||
var wrapper = jQuery('.egw_message_wrapper').length > 0 ? jQuery('.egw_message_wrapper')
|
||||
: jQuery(_wnd.document.createElement('div')).addClass('egw_message_wrapper noPrint').css('position', 'absolute');
|
||||
|
||||
// add popup indicator class to be able to distinguish between mainframe message or popup message
|
||||
if (this.is_popup()) wrapper.addClass('isPopup');
|
||||
|
||||
if (_msg && !_type)
|
||||
{
|
||||
if (typeof error_reg_exp == 'undefined') error_reg_exp = new RegExp('(error|'+egw.lang('error')+')', 'i');
|
||||
|
@ -3542,6 +3542,14 @@ div.admin-config form > table td b {
|
||||
/**
|
||||
* Message in popup
|
||||
*/
|
||||
body .egw_message_wrapper.isPopup {
|
||||
top: 0px;
|
||||
bottom: auto;
|
||||
overflow-y: unset;
|
||||
right: 33% !important;
|
||||
max-width: unset;
|
||||
min-width: unset;
|
||||
}
|
||||
body .egw_message_wrapper {
|
||||
background-color: #d9d9d9;
|
||||
right: 0 !important;
|
||||
|
@ -439,6 +439,14 @@ div.admin-config form > table {
|
||||
/**
|
||||
* Message in popup
|
||||
*/
|
||||
body .egw_message_wrapper.isPopup{
|
||||
top: 0px;
|
||||
bottom: auto;
|
||||
overflow-y: unset;
|
||||
right: 33% !important;
|
||||
max-width: unset;
|
||||
min-width: unset;
|
||||
}
|
||||
body .egw_message_wrapper {
|
||||
.background_color_15_gray;
|
||||
right: 0 !important;
|
||||
|
Loading…
Reference in New Issue
Block a user