Commit 95368fca authored by alexpott's avatar alexpott
Browse files

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

parent 84d0ea97
...@@ -1654,9 +1654,9 @@ function theme_status_messages($variables) { ...@@ -1654,9 +1654,9 @@ function theme_status_messages($variables) {
$output .= '<h2 class="element-invisible">' . $status_heading[$type] . "</h2>\n"; $output .= '<h2 class="element-invisible">' . $status_heading[$type] . "</h2>\n";
} }
if (count($messages) > 1) { if (count($messages) > 1) {
$output .= " <ul>\n"; $output .= " <ul class=\"messages__list\">\n";
foreach ($messages as $message) { foreach ($messages as $message) {
$output .= ' <li>' . $message . "</li>\n"; $output .= ' <li class="messages__item">' . $message . "</li>\n";
} }
$output .= " </ul>\n"; $output .= " </ul>\n";
} }
......
...@@ -440,13 +440,13 @@ ul.tabs { ...@@ -440,13 +440,13 @@ ul.tabs {
.messages + .messages { .messages + .messages {
margin-top: 1.538em; margin-top: 1.538em;
} }
.messages ul { .messages__list {
list-style: none; list-style: none;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
.messages li + li { .messages__item + .messages__item {
margin-top: .769em; margin-top: 0.769em;
} }
/* @TODO Separate tables and messages styling */ /* @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