aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
committerzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
commit87970491441cb15462d3fe7a7641d2f2755cb45b (patch)
tree455abf25ed534ddcadfd595f3484c4ef6ff74a2a /view/tpl/notifications_widget.tpl
parent09009d4b32d5014d77de941dba695fe2bc577616 (diff)
parentcc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (diff)
downloadvolse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.gz
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.bz2
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r--view/tpl/notifications_widget.tpl34
1 files changed, 11 insertions, 23 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index 83174b3a1..3323422d6 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -1,13 +1,6 @@
<style>
- #notifications {
- position: fixed;
- top: 4.5rem;
- width: 266px;
- padding: 0 .5rem;
- }
-
.notification-content {
- max-height: 50vh;
+ max-height: 70vh;
overflow: auto;
}
@@ -19,30 +12,25 @@
position: fixed;
top: 0px;
left: 0px;
- display: block !important;
+ padding: 4.5rem .5rem 0 .5rem;
background-color: white;
width: 100%;
max-width: 100%;
height: 100vh;
- z-index: 1020;
- }
-
- .fs #notifications {
- position: relative;
- width: 100%;
- top: 0px;
+ z-index: 1030;
}
</style>
-<div id="nav-notifications-template" rel="template">
- <a class="dropdown-item clearfix dropdown-notification {5}" href="{0}" title="{2} {3}">
- <img class="menu-img-3" data-src="{1}">
- <span class="contactname">{2}</span>
- <span class="dropdown-sub-text">{3}<br>{4}</span>
- </a>
-</div>
+
<div id="notifications" class="navbar-nav" data-children=".nav-item">
+ <div id="nav-notifications-template" rel="template">
+ <a class="dropdown-item clearfix dropdown-notification {5}" href="{0}" title="{2} {3}">
+ <img class="menu-img-3" data-src="{1}">
+ <span class="contactname">{2}</span>
+ <span class="dropdown-sub-text">{3}<br>{4}</span>
+ </a>
+ </div>
{{foreach $notifications as $notification}}
<div class="collapse {{$notification.type}}-button">
<a class="list-group-item" href="#nav-{{$notification.type}}-menu" title="{{$notification.title}}" data-toggle="collapse" data-parent="#notifications" rel="#nav-{{$notification.type}}-menu">