Commit 95368fca authored by alexpott's avatar alexpott

Issue #1986408 followup by ry5n, tim.plunkett, joelpittet | Bojhan: Fixed Message style update.

parent 84d0ea97
......@@ -1654,9 +1654,9 @@ function theme_status_messages($variables) {
$output .= '<h2 class="element-invisible">' . $status_heading[$type] . "</h2>\n";
}
if (count($messages) > 1) {
$output .= " <ul>\n";
$output .= " <ul class=\"messages__list\">\n";
foreach ($messages as $message) {
$output .= ' <li>' . $message . "</li>\n";
$output .= ' <li class="messages__item">' . $message . "</li>\n";
}
$output .= " </ul>\n";
}
......
......@@ -440,13 +440,13 @@ ul.tabs {
.messages + .messages {
margin-top: 1.538em;
}
.messages ul {
.messages__list {
list-style: none;
padding: 0;
margin: 0;
}
.messages li + li {
margin-top: .769em;
.messages__item + .messages__item {
margin-top: 0.769em;
}
/* @TODO Separate tables and messages styling */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment