commit 954870c445649fc17d5ebfa8cab37916b9422c6a
parent 9a02a55caae6d78b56d2d0925f46695a84cdd8dc
Author: William Casarin <jb55@jb55.com>
Date: Mon, 14 Nov 2022 09:32:05 -0800
web: add clickable style to thread expansion msg
Diffstat:
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/css/styles.css b/web/css/styles.css
@@ -328,6 +328,7 @@ button.nav {
.action-bar button.heart:hover {
color: var(--clrHeart);
}
+
details.cw summary {
cursor: pointer;
outline: none;
diff --git a/web/index.html b/web/index.html
@@ -12,7 +12,7 @@
<script defer src="js/noble-secp256k1.js?v=1"></script>
<script defer src="js/bech32.js?v=1"></script>
<script defer src="js/nostr.js?v=6"></script>
- <script defer src="js/damus.js?v=72"></script>
+ <script defer src="js/damus.js?v=73"></script>
</head>
<body>
<script>
diff --git a/web/js/ui/render.js b/web/js/ui/render.js
@@ -54,7 +54,7 @@ function render_thread_collapsed(model, reply_ev, opts)
if (opts.is_composing)
return ""
return `<div onclick="expand_thread('${reply_ev.id}')" class="thread-collapsed">
- <div class="thread-summary event-message">
+ <div class="thread-summary clickable event-message">
More messages in thread available. Click to expand.
</div>
</div>`