mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-15 09:22:17 +00:00
feat: align tables vertically in center
This commit is contained in:
1 parent
3ac5f13f18
commit
47c39f93b7
1 file changed
+9
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user