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:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user