aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2014-05-27 22:32:28 +0100
committerbrunoais <brunoaiss@gmail.com>2014-05-28 11:59:44 +0100
commit8173f96d6060814ec7458f6fccf5d82a224d0ade (patch)
treea6836984eef4b3e2d731115d7d592e0f40d0cd6b
parent08c01b7cee629701dc62b32b03eb5543e8c9d196 (diff)
downloadforums-8173f96d6060814ec7458f6fccf5d82a224d0ade.tar
forums-8173f96d6060814ec7458f6fccf5d82a224d0ade.tar.gz
forums-8173f96d6060814ec7458f6fccf5d82a224d0ade.tar.bz2
forums-8173f96d6060814ec7458f6fccf5d82a224d0ade.tar.xz
forums-8173f96d6060814ec7458f6fccf5d82a224d0ade.zip
[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
-rw-r--r--phpBB/styles/prosilver/template/notification_dropdown.html2
-rw-r--r--phpBB/styles/prosilver/theme/common.css4
2 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/notification_dropdown.html b/phpBB/styles/prosilver/template/notification_dropdown.html
index 3f32189fe5..db4d5bade7 100644
--- a/phpBB/styles/prosilver/template/notification_dropdown.html
+++ b/phpBB/styles/prosilver/template/notification_dropdown.html
@@ -13,7 +13,7 @@
<ul>
<!-- IF not .notifications -->
- <li>
+ <li class="no_notifications">
{L_NO_NOTIFICATIONS}
</li>
<!-- ENDIF -->
diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css
index b90a53b4e8..b9728729f9 100644
--- a/phpBB/styles/prosilver/theme/common.css
+++ b/phpBB/styles/prosilver/theme/common.css
@@ -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;
}