Skip to content

Commit

Permalink
修复在移动端的样式
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdhs committed Oct 12, 2023
1 parent 57e8673 commit c2edef7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ cmd/authlibskin/config.yaml
cmd/authlibskin/skin
cmd/authlibskin/authlibskin.exe
server/static/files
cmd/authlibskin/config.toml
7 changes: 3 additions & 4 deletions frontend/src/views/admin/UserAdmin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,10 @@ function MyDialog({ open, row, setOpen, onUpdate }: MyDialogProp) {
<Dialog open={open}>
<DialogTitle>修改用户信息</DialogTitle>
<DialogContent sx={{
display: "grid", gap: '1em', gridTemplateColumns: {
xs: "1fr"
},
display: "grid", gap: '1em',
gridTemplateAreas: {
md: "'a c' 'b b'"
md: "'a c' 'b b'",
xs: "'a' 'c' 'b'"
}
}}>
<Box sx={{ display: "flex", flexDirection: 'column', gap: '0.5em', gridArea: "a" }}>
Expand Down

0 comments on commit c2edef7

Please sign in to comment.