Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix dialog border radius on small screens

Ilian Sapundshiev5b518b621cdb
diff --git a/src/renderer/utils/Themes.ts b/src/renderer/utils/Themes.ts
index a091db1f2..c946b2566 100644
--- a/src/renderer/utils/Themes.ts
+++ b/src/renderer/utils/Themes.ts
@@ -45,9 +45,12 @@ export const createTSTheme = (themeName: string, isDark: boolean = false) => {
components: {
MuiDialog: {
styleOverrides: {
- paper: {
- borderRadius: '15px', // AppConfig.defaultCSSRadius,
- },
+ paper: ({ theme }) => ({
+ borderRadius: '15px',
+ [theme.breakpoints.down('md')]: {
+ borderRadius: '0px',
+ },
+ }),
},
},
},