Plethora of changes

This commit is contained in:
augmentedpotato
2026-04-19 10:33:17 -06:00
parent 357fac2d56
commit a0eb6aa1f9
8 changed files with 19 additions and 17 deletions

View File

@@ -595,12 +595,12 @@ function AiChatPage() {
</div>
<div style={{ display: "flex", gap: "0.5rem", width: isMobile ? "100%" : undefined }}>
{!isEscalated && !isClosed && (
<button style={{ ...s.humanBtn, flex: isMobile ? 1 : undefined, fontSize: isMobile ? "0.75rem" : undefined, padding: isMobile ? "0.4rem 0.6rem" : undefined }} onClick={handleSwitchToHuman} title="Connect with a human support agent">
<button style={isMobile ? { ...s.humanBtn, flex: 1 } : s.humanBtn} onClick={handleSwitchToHuman} title="Connect with a human support agent">
Chat with a Real Person
</button>
)}
{!isClosed && (
<button style={{ ...s.closeConvBtn, flex: isMobile ? 1 : undefined, fontSize: isMobile ? "0.75rem" : undefined, padding: isMobile ? "0.4rem 0.6rem" : undefined }} onClick={handleCloseConversation} title="Close this conversation">
<button style={isMobile ? { ...s.closeConvBtn, flex: 1 } : s.closeConvBtn} onClick={handleCloseConversation} title="Close this conversation">
Close Chat
</button>
)}
@@ -961,8 +961,8 @@ const s = {
border: "2px solid #ff8c00",
color: "#ff8c00",
borderRadius: 8,
padding: "0.45rem 0.9rem",
fontSize: "0.82rem",
padding: "0.3rem 0.65rem",
fontSize: "0.72rem",
fontWeight: 600,
cursor: "pointer",
whiteSpace: "nowrap",
@@ -1005,8 +1005,8 @@ const s = {
border: "2px solid #c0392b",
color: "#c0392b",
borderRadius: 8,
padding: "0.45rem 0.9rem",
fontSize: "0.82rem",
padding: "0.3rem 0.65rem",
fontSize: "0.72rem",
fontWeight: 600,
cursor: "pointer",
whiteSpace: "nowrap",