style: update logs context menu to match app-modal glassmorphic styling

This commit is contained in:
NimBold
2026-06-22 22:04:32 +03:30
parent a802c947ec
commit 6301bf9fd0
+5 -3
View File
@@ -237,11 +237,13 @@ export default function LogsView() {
{/* Context Menu */} {/* Context Menu */}
{contextMenu && ( {contextMenu && (
<div <div
className="fixed z-[100] bg-bg-secondary border border-border-modal rounded-md shadow-lg py-1 min-w-[120px]" role="menu"
style={{ left: Math.min(contextMenu.x, window.innerWidth - 120), top: Math.min(contextMenu.y, window.innerHeight - 40) }} className="app-modal fixed z-50 min-w-[150px] overflow-visible py-1.5 text-[12px] font-medium text-text-primary"
style={{ left: Math.min(contextMenu.x, window.innerWidth - 150), top: Math.min(contextMenu.y, window.innerHeight - 50) }}
onClick={(e) => e.stopPropagation()}
> >
<button <button
className="w-full text-left px-3 py-1.5 flex items-center hover:bg-item-hover text-[12px] text-text-primary" className="w-full text-left px-3 py-2 flex items-center hover:bg-item-hover transition-colors"
onClick={handleCopy} onClick={handleCopy}
> >
<Copy size={13} className="mr-2 text-text-secondary" /> <Copy size={13} className="mr-2 text-text-secondary" />