diff --git a/app/static/css/style.css b/app/static/css/style.css index a8b5d79..f877b6d 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -738,10 +738,8 @@ main { position: relative; } -.dm-retry-info { - font-size: 0.65rem; - color: var(--text-meta); - margin-right: auto; +.dm-retry-info:empty { + display: none; } .dm-delivery-meta { @@ -781,7 +779,6 @@ main { .dm-actions { display: flex; justify-content: flex-end; - align-items: center; margin-top: 0.25rem; } diff --git a/app/static/js/dm.js b/app/static/js/dm.js index afba961..cd38473 100644 --- a/app/static/js/dm.js +++ b/app/static/js/dm.js @@ -1205,10 +1205,12 @@ function displayMessages(messages) { deliveryMeta = `
`; } - // Resend button for own messages (with retry counter placeholder) + // Retry counter placeholder (same line as delivery meta) + const retryInfo = msg.is_own ? `` : ''; + + // Resend button for own messages const resendBtn = msg.is_own ? `