fix(ui): add custom xxl modal size to prevent overflow on small screens
Hardcoded size: 1200 could overflow on narrow viewports. Add a custom "xxl" size (75rem) to the Mantine Modal theme via a vars resolver. Mantine caps modal width at 100vw so it naturally adapts on mobile. Use "xxl" in item-select, app-select, and integration-select modals.
This commit is contained in:
4 files changed
+14
-4
No files matched your search
@@ -151,5 +151,5 @@ export const AppSelectModal = createModal<AppSelectModalProps>(({ actions, inner
|
||||
);
|
||||
}).withOptions({
|
||||
defaultTitle: (t) => t("app.action.select.title"),
|
||||
size: 1200,
|
||||
size: "xxl",
|
||||
});
|
||||
Reference in new issue
Block a user