Skip to content

Commit

Permalink
Move padding to where it's logically more fitting
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair committed Feb 12, 2024
1 parent be60e78 commit 16709b4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/admin/admin/src/alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ const styles = (theme: Theme) =>
title: {},
text: {
flexGrow: 1,
marginRight: theme.spacing(4),
},
action: {},
closeIcon: {},
hasTitle: {
position: "relative",
alignItems: "flex-start",
paddingTop: theme.spacing(4),
paddingBottom: "6px",
padding: theme.spacing(4, 6, "8px", 3),

[`& .${buttonClasses.text}`]: {
marginLeft: -15,
Expand All @@ -55,8 +53,8 @@ const styles = (theme: Theme) =>

"& $closeIcon": {
position: "absolute",
right: 10,
top: 10,
right: 2,
top: 2,
},
"& $message": {
flexDirection: "column",
Expand Down

0 comments on commit 16709b4

Please sign in to comment.