mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 23:36:48 -06:00
Handle text wrapping in alertify dialog only when it is required. Regression of #3695
This commit is contained in:
parent
69f6895224
commit
06ae799d02
@ -375,9 +375,9 @@ define('pgadmin.preferences', [
|
||||
dialogContentCleanup();
|
||||
|
||||
$container.append(
|
||||
'<div class=\'pg-el-3 preferences_tree aciTree\'></div>'
|
||||
'<div class=\'pg-el-sm-3 preferences_tree aciTree\'></div>'
|
||||
).append(
|
||||
'<div class=\'pg-el-9 preferences_content\'>' +
|
||||
'<div class=\'pg-el-sm-9 preferences_content\'>' +
|
||||
gettext('Category is not selected.') +
|
||||
'</div>'
|
||||
);
|
||||
|
@ -430,6 +430,7 @@ define([
|
||||
onshow:function() {
|
||||
$(this.elements.commands.close).attr('title', gettext('Close'));
|
||||
$(this.elements.commands.maximize).attr('title', gettext('Maximize'));
|
||||
$(this.elements.content).addClass('ajs-wrap-text');
|
||||
},
|
||||
reverseButtons: true,
|
||||
});
|
||||
|
@ -53,10 +53,11 @@
|
||||
}
|
||||
.ajs-body .ajs-content {
|
||||
bottom: $footer-height-calc !important;
|
||||
word-break: break-word;
|
||||
}
|
||||
.ajs-wrap-text {
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/* Removes padding from alertify footer */
|
||||
.ajs-footer {
|
||||
padding: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user