#876966 by dmitrig01: Fixed Warning message sits hard on top of tables.

merge-requests/26/head
Angie Byron 2010-08-09 16:58:15 +00:00
parent a4df7936bb
commit fe97bfefc5
2 changed files with 4 additions and 1 deletions

View File

@ -1167,7 +1167,7 @@ Drupal.theme.prototype.tableDragIndentation = function () {
}; };
Drupal.theme.prototype.tableDragChangedWarning = function () { Drupal.theme.prototype.tableDragChangedWarning = function () {
return '<div class="warning">' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>'; return '<div class="tabledrag-changed-warning messages warning">' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>';
}; };
})(jQuery); })(jQuery);

View File

@ -136,6 +136,9 @@ div.tree-child-horizontal {
.tabledrag-toggle-weight { .tabledrag-toggle-weight {
font-size: 0.9em; font-size: 0.9em;
} }
body div.tabledrag-changed-warning {
margin-bottom: 0.5em;
}
/** /**
* Progress bar * Progress bar