From 43992dc463575655a5767fcb1a8dcb18a1d4ffdf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 19 Feb 2018 14:11:58 +0100 Subject: do not show summary if it is equal to body and some styling for the summary/article toggle links --- view/css/conversation.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/css/conversation.css b/view/css/conversation.css index 77a600deb..f7ab3dcdd 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -286,7 +286,6 @@ img.smiley.emoji:hover { height: 32px; } - .checklist input { margin: 0px; vertical-align: middle; @@ -296,6 +295,15 @@ img.smiley.emoji:hover { padding: 15px; } +.view-summary { + margin-bottom: 1rem; +} + +.view-article { + margin-top: 1rem; +} + + #filer_save { margin-left: 15px; } -- cgit v1.2.3 From 2047801b858d56ba72da0a430903890bea0130cd Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 19 Feb 2018 20:23:13 +0100 Subject: updates 1201 and 1200 should return success for postgres. notifications: remove class show and session storage entry when we mark all notifications seen --- view/js/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 4a2bae802..f6fe475d8 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -357,7 +357,9 @@ function closeMenu(theID) { function markRead(notifType) { $.get('ping?f=&markRead='+notifType); $('.' + notifType + '-button').hide(); + $('#nav-' + notifType + '-sub').removeClass('show'); sessionStorage.removeItem(notifType + '_notifications_cache'); + sessionStorage.removeItem('notification_open'); if(timer) clearTimeout(timer); timer = setTimeout(updateInit,2000); } -- cgit v1.2.3