Compare commits

..
1 Commits
Author SHA1 Message Date
arcanis 47c39f93b7 feat: align tables vertically in center 2026-10-13 13:22:00 +03:00
+9
View File
@@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { createTheme, type Theme } from "@mui/material/styles";
import type {} from "@mui/x-data-grid/themeAugmentation";
export function createAppTheme(mode: "light" | "dark"): Theme {
return createTheme({
@@ -30,6 +31,14 @@ export function createAppTheme(mode: "light" | "dark"): Theme {
},
},
},
MuiDataGrid: {
styleOverrides: {
cell: {
alignItems: "center",
display: "flex",
},
},
},
MuiDialog: {
defaultProps: {
fullWidth: true,