diff --git a/conversations.php b/conversations.php index 16f98d6..38684b9 100644 --- a/conversations.php +++ b/conversations.php @@ -255,6 +255,17 @@ white-space: -o-pre-wrap; word-break: break-word; } + + /* WhatsApp-like inline formatting and interactive messages */ + .wa-interactive { margin-top: 8px; border: 1px solid rgba(0,0,0,0.06); padding: 8px; border-radius: 8px; background: #fff; } + .wa-interactive .wa-title { font-weight:700; margin-bottom:6px; } + .wa-interactive .wa-buttons { display:flex; gap:6px; flex-wrap:wrap; } + .wa-interactive .wa-buttons .wa-interactive-btn { white-space:nowrap; } + .wa-interactive .wa-list { margin-top:6px; } + .wa-interactive .wa-list-item { padding:8px; border-radius:6px; cursor:pointer; border:1px solid transparent; } + .wa-interactive .wa-list-item:hover { background:#f6f8fb; border-color:rgba(0,0,0,0.04); } + .wa-code { background:#0b0b0b; color:#fff; padding:8px; border-radius:6px; font-family: monospace; white-space: pre-wrap; } + .wa-inline-code { background:#f4f4f4; padding:2px 6px; border-radius:4px; font-family: monospace; } .message-bubble:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2,6,23,0.06); @@ -818,11 +829,11 @@ --> -