1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 12:22:03 +02:00

[ticket/14039] Only show log container when it has content

PHPBB3-14039
This commit is contained in:
Mate Bartus 2015-10-18 11:33:49 +02:00
parent 6b561b9eae
commit 74ae7d2a8d
2 changed files with 4 additions and 2 deletions

View File

@ -1837,6 +1837,7 @@ li.pagination ul {
}
#log-container {
display: none;
max-height: 300px;
padding: 8px;
margin: 10px 0;
@ -1845,7 +1846,8 @@ li.pagination ul {
background-color: #FFFFFF;
}
#log-container.show_border {
#log-container.show_log_container {
display: block;
border: 1px solid #DBD7D1;
}

View File

@ -69,7 +69,7 @@
case 'log':
$msgElement.addClass('log');
$logContainer.prepend($msgElement);
$logContainer.addClass('show_border');
$logContainer.addClass('show_log_container');
break;
case 'success':
$msgElement.addClass('successbox');