Signal and Chat photos open in an in-app viewer (X, tap outside, Escape or Back to return to the chat)
build-container / build (push) Successful in 3m5s
build-container / build (push) Successful in 3m5s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4b830dd43
commit
d0e4e82e0a
4 files changed
+37
-1
No files matched your search
@@ -1205,3 +1205,9 @@ body.qdock #view { padding-right: 340px; }
|
||||
.empty.loading { background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--muted) 16%, transparent) 50%, transparent 100%) 0 0 / 200% 100% no-repeat; animation: loadsweep 1.4s ease-in-out infinite; border-radius: 12px; }
|
||||
@keyframes loadsweep { from { background-position: 150% 0; } to { background-position: -50% 0; } }
|
||||
@media (prefers-reduced-motion: reduce) { .empty.loading { animation: none; } }
|
||||
|
||||
/* Photo viewer for Signal and Chat images (image-viewer.js) */
|
||||
#imgview { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; padding: calc(var(--sat, 0px) + 56px) 12px calc(var(--sab, 0px) + 12px); }
|
||||
#imgview img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; touch-action: pinch-zoom; -webkit-touch-callout: default; user-select: auto; }
|
||||
#imgview .ivx { position: absolute; top: calc(var(--sat, 0px) + 8px); right: 12px; background: rgba(255, 255, 255, .16); color: #fff; }
|
||||
#imgview .ivsave { position: absolute; top: calc(var(--sat, 0px) + 16px); left: 16px; color: #fff; font-size: 16px; padding: 6px 12px; border-radius: 16px; background: rgba(255, 255, 255, .16); text-decoration: none; cursor: pointer; }
|
||||
Reference in new issue
Block a user