Enhance media device handling in SettingsModal and VoiceCheckModal; add media device availability checks and user feedback for unsupported environments. Refactor ModalWrapper and update UI components for improved responsiveness and layout consistency.

This commit is contained in:
2025-10-16 19:09:44 +05:00
parent a2d19fe646
commit b8bdbc94f9
12 changed files with 178 additions and 33 deletions
+3 -1
View File
@@ -17,7 +17,9 @@ function ModalWrapper({
return (
<div className={clsx("bg-white rounded-[1.111vw] relative", className)}>
<ModalHeader title={title} leftButton={leftButton} />
<div className="2xl:p-[1.389vw] p-5">{children}</div>
<div className={clsx("2xl:p-[1.389vw] p-5", !title && "!pt-0")}>
{children}
</div>
</div>
);
}