mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-11 18:15:20 +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:
parent
08c01b7cee
commit
8173f96d60
@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<!-- IF not .notifications -->
|
<!-- IF not .notifications -->
|
||||||
<li>
|
<li class="no_notifications">
|
||||||
{L_NO_NOTIFICATIONS}
|
{L_NO_NOTIFICATIONS}
|
||||||
</li>
|
</li>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
@ -1066,6 +1066,10 @@ form > p.post-notice strong {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-extended ul li.no_notifications {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-extended ul li:before, .dropdown-extended ul li:after {
|
.dropdown-extended ul li:before, .dropdown-extended ul li:after {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user