Define italic style in css instead of the code.
This commit is contained in:
parent
694aa9d839
commit
c1c8de4a3f
@ -68,8 +68,9 @@ div.ov_dialog div.ov_dialog_message
|
||||
|
||||
div.ov_dialog div.ov_dialog_submessage
|
||||
{
|
||||
margin-top: 10px;
|
||||
font-size: 14px;
|
||||
font-style: italic;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
div.ov_dialog textarea.ov_dialog_textarea
|
||||
|
||||
@ -11,7 +11,7 @@ OV.ShowMessageDialog = function (title, message, subMessage)
|
||||
]);
|
||||
$('<div>').addClass ('ov_dialog_message').html (message).appendTo (contentDiv);
|
||||
if (subMessage !== null) {
|
||||
$('<div>').addClass ('ov_dialog_submessage').html ('<i>' + subMessage + '</i>').appendTo (contentDiv);
|
||||
$('<div>').addClass ('ov_dialog_submessage').html (subMessage).appendTo (contentDiv);
|
||||
}
|
||||
dialog.Show ();
|
||||
return dialog;
|
||||
@ -64,7 +64,7 @@ OV.CalculatePopupPositionToScreen = function (globalMouseCoordinates, contentDiv
|
||||
let windowObj = $(window);
|
||||
let windowWidth = windowObj.outerWidth ();
|
||||
let windowHeight = windowObj.outerHeight ();
|
||||
let left = globalMouseCoordinates.x;
|
||||
let left = globalMouseCoordinates.x;
|
||||
let top = globalMouseCoordinates.y;
|
||||
let right = left + contentDiv.outerWidth (true);
|
||||
let bottom = top + contentDiv.outerHeight (true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user