summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-09 16:58:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-09 16:58:15 +0000
commitfe97bfefc52ce18081f66de5815b998e7da886c0 (patch)
treed6bf2c27bf70fd4e78f33564389bd2ac0850b0e3
parenta4df7936bb2a681b1278a70384da1e739abc423e (diff)
downloadbrdo-fe97bfefc52ce18081f66de5815b998e7da886c0.tar.gz
brdo-fe97bfefc52ce18081f66de5815b998e7da886c0.tar.bz2
#876966 by dmitrig01: Fixed Warning message sits hard on top of tables.
-rw-r--r--misc/tabledrag.js2
-rw-r--r--modules/system/system-behavior.css3
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index 572633dbf..baebfcfd4 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -1167,7 +1167,7 @@ Drupal.theme.prototype.tableDragIndentation = 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);
diff --git a/modules/system/system-behavior.css b/modules/system/system-behavior.css
index 9dc63497d..15e65882f 100644
--- a/modules/system/system-behavior.css
+++ b/modules/system/system-behavior.css
@@ -136,6 +136,9 @@ div.tree-child-horizontal {
.tabledrag-toggle-weight {
font-size: 0.9em;
}
+body div.tabledrag-changed-warning {
+ margin-bottom: 0.5em;
+}
/**
* Progress bar