feat: Introduce alwaysShow prop for MobileBackButton to control visibility and apply minor UI refinements to specialization cards and chat header.

This commit is contained in:
pradeepkumar
2026-03-27 06:47:53 +05:30
parent d598637380
commit 317f7e7402
6 changed files with 9 additions and 8 deletions

View File

@@ -366,7 +366,7 @@ export default function EditProfilePage() {
return (
<div>
<MobileBackButton label="Back" fallbackHref="/agent/dashboard" />
<MobileBackButton label="Back" fallbackHref="/agent/dashboard" alwaysShow />
<div className="flex gap-6 h-[calc(100vh-180px)]">
{/* Left Sidebar - Quick Links */}
<div className="w-[220px] flex-shrink-0 hidden lg:block h-full overflow-y-auto scrollbar-thin">

View File

@@ -278,7 +278,7 @@ export default function AgentProfileView() {
return (
<div className="max-w-7xl mx-auto px-4 lg:px-8 py-6 space-y-6">
<MobileBackButton label="Back" fallbackHref="/user/profiles" />
<MobileBackButton label="Back" fallbackHref="/user/profiles" alwaysShow />
{/* Main Layout - Responsive: Column on mobile, Row on desktop */}
<div className="flex flex-col lg:flex-row gap-6 lg:items-stretch">
{/* Left Sidebar - Status & Contact */}

View File

@@ -277,7 +277,7 @@ export default function SupportChatPage() {
{/* Chat Area */}
<main className="flex-1 max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 pb-8 w-full flex flex-col">
{/* Chat Header */}
<div className="border border-[#00293d]/10 rounded-t-[15px] px-6 py-4 flex items-center gap-3 bg-[#00293d]">
<div className="border border-[#00293d]/10 rounded-t-[15px] px-6 py-4 flex items-center gap-3 bg-[#648188]">
<Image
src="/assets/icons/chat-icon.svg"
alt=""