Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/mask/src/plugins/Tips/components/TipDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ const useStyles = makeStyles()((theme) => ({
},
dialogTitle: {
height: 60,
paddingTop: '0 !important',
paddingBottom: '0 !important',
},
content: {
display: 'flex',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ const useInjectedDialogClassesOverwriteTwitter = makeStyles()((theme) => {
},
},
dialogTitle: {
display: 'flex',
display: 'grid',
gridTemplateColumns: 'repeat(3, 1fr)',
alignItems: 'center',
padding: '17px 16px',
position: 'relative',
Expand All @@ -83,6 +84,9 @@ const useInjectedDialogClassesOverwriteTwitter = makeStyles()((theme) => {
padding: '7px 14px 6px 11px !important',
},
},
dialogTitleTail: {
gridColumn: 3,
},
dialogContent: {
padding: 16,
[smallQuery]: {
Expand Down
2 changes: 0 additions & 2 deletions packages/shared/src/contexts/components/InjectedDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ interface StyleProps {

const useStyles = makeStyles<StyleProps>()((theme, { clean }) => ({
dialogTitle: {
padding: theme.spacing(1, 2),
whiteSpace: 'nowrap',
},
dialogContent: {
Expand All @@ -38,7 +37,6 @@ const useStyles = makeStyles<StyleProps>()((theme, { clean }) => ({
},
dialogCloseButton: {
color: theme.palette.text.primary,
position: 'absolute',
padding: 0,
width: 24,
height: 24,
Expand Down