fix(ux-33): prevent support button overlap on contact form and elevate with safe-area spacing

This commit is contained in:
devops committed 2026-10-17 18:56:13 +00:00
1 parent f23efbf90d
commit b5b4e64453
3 files changed
+39 -2

No files matched your search

@@ -194,7 +194,7 @@ export default function SupportChat() {
if (!config?.enabled) return configError ? <span role="status" className="sr-only">تنظیمات پشتیبان هوشمند در دسترس نیست.</span> : null;
const botIcon = { chat: '💬', paw: '🐾', bot: '🤖' }[config.icon];
return (
<aside dir="rtl" className="fixed bottom-20 left-5 z-30 max-w-[calc(100vw-2.5rem)] font-vazir select-none">
<aside dir="rtl" className="fixed bottom-24 sm:bottom-6 left-4 sm:left-6 z-30 max-w-[calc(100vw-2.5rem)] font-vazir select-none pb-[env(safe-area-inset-bottom,0px)]">
{/* Floating Launcher Button */}
<button
type="button"