Skip to content

Commit 0d5e026

Browse files
committed
update padding for buttons
1 parent 4ab980e commit 0d5e026

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy