{item.name} + {item.kind === 'image' && (item.thumbnailUrl || item.contentUrl) && conversationContext?.openImage(item.contentUrl ?? item.thumbnailUrl!, item.name, event.currentTarget)} + >} {item.resultId && } diff --git a/src/renderer/src/styles.css b/src/renderer/src/styles.css index 12157f73..31456932 100644 --- a/src/renderer/src/styles.css +++ b/src/renderer/src/styles.css @@ -7752,11 +7752,17 @@ button > svg { cursor: pointer; } -.context-chip > button:hover { +.context-chip > button:not(.message-image-button):hover { background: var(--danger-subtle); color: var(--danger); } +.context-chip > .message-image-button { + width: auto; + height: auto; + cursor: zoom-in; +} + .attachment-metadata, .attachment-actions { display: flex;