Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb11e716

Browse files
committed
update padding for buttons
1 parent4ab980e commitb11e716

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎site/src/components/ConfirmDialog/ConfirmDialog.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ const useStyles = makeStyles((theme) => ({
5151
background:props.type==="info" ?theme.palette.primary.main :theme.palette.background.paper,
5252
border:`1px solid${theme.palette.divider}`,
5353
},
54+
"& .MuiDialogActions-spacing":{
55+
padding:`0${theme.spacing(3.75)}px${theme.spacing(3.75)}px`,
56+
}
5457
}),
5558
dialogContent:(props:StyleProps)=>({
5659
color:props.type==="info" ?theme.palette.primary.contrastText :theme.palette.text.secondary,

‎site/src/components/Dialog/Dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const useButtonStyles = makeStyles((theme) => ({
148148
borderRadius:theme.shape.borderRadius,
149149
fontSize:theme.typography.h6.fontSize,
150150
fontWeight:theme.typography.h5.fontWeight,
151-
padding:theme.spacing(2.25),
151+
padding:`${theme.spacing(0.75)}px${theme.spacing(2)}px`,
152152
width:"100%",
153153
boxShadow:"none",
154154
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp