mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Set fullWidth on the alert dialog scenario
This commit is contained in:
parent
2540a8bcfe
commit
9c35c28e90
@ -1,7 +1,7 @@
|
|||||||
import { clientPackageName, staticAppTitle } from "@/base/app";
|
import { clientPackageName, staticAppTitle } from "@/base/app";
|
||||||
import { CustomHead } from "@/base/components/Head";
|
import { CustomHead } from "@/base/components/Head";
|
||||||
import type { MiniDialogAttributes } from "@/base/components/MiniDialog";
|
import type { MiniDialogAttributes } from "@/base/components/MiniDialog";
|
||||||
import { DialogBoxV2 } from "@/base/components/MiniDialog";
|
import { MiniDialog } from "@/base/components/MiniDialog";
|
||||||
import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";
|
import { ActivityIndicator } from "@/base/components/mui/ActivityIndicator";
|
||||||
import { AppNavbar } from "@/base/components/Navbar";
|
import { AppNavbar } from "@/base/components/Navbar";
|
||||||
import { setupI18n } from "@/base/i18n";
|
import { setupI18n } from "@/base/i18n";
|
||||||
@ -307,7 +307,7 @@ export default function App({ Component, pageProps }: AppProps) {
|
|||||||
onClose={closeMessageDialog}
|
onClose={closeMessageDialog}
|
||||||
attributes={dialogMessage}
|
attributes={dialogMessage}
|
||||||
/>
|
/>
|
||||||
<DialogBoxV2
|
<MiniDialog
|
||||||
sx={{ zIndex: 1600 }}
|
sx={{ zIndex: 1600 }}
|
||||||
open={dialogBoxV2View}
|
open={dialogBoxV2View}
|
||||||
onClose={closeDialogBoxV2}
|
onClose={closeDialogBoxV2}
|
||||||
|
@ -130,6 +130,7 @@ export function MiniDialog({
|
|||||||
<Dialog
|
<Dialog
|
||||||
open={open}
|
open={open}
|
||||||
onClose={handleClose}
|
onClose={handleClose}
|
||||||
|
fullWidth
|
||||||
PaperProps={{
|
PaperProps={{
|
||||||
...PaperProps,
|
...PaperProps,
|
||||||
sx: {
|
sx: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user