1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 16:15:22 +02:00

[ticket/12604] Fix wrong padding when no notifications

Added a class to the <li> when the <li> represents that there's no
notifications (no_notifications) and
Added a CSS rule that matches the change to the HTML source for when
there's no notifications.

PHPBB3-12604
This commit is contained in:
brunoais 2014-05-27 22:32:28 +01:00
parent 08c01b7cee
commit 8173f96d60
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<ul>
<!-- IF not .notifications -->
<li>
<li class="no_notifications">
{L_NO_NOTIFICATIONS}
</li>
<!-- ENDIF -->

View File

@ -1066,6 +1066,10 @@ form > p.post-notice strong {
position: relative;
}
.dropdown-extended ul li.no_notifications {
padding: 10px;
}
.dropdown-extended ul li:before, .dropdown-extended ul li:after {
display: none;
}