Add margin to notification box (#1436)
* Add margin to notification box * Code fix
This commit is contained in:
parent
e018ea5b7d
commit
04dac84d63
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
import { makeStyles } from "@saleor/macaw-ui";
|
import { makeStyles } from "@saleor/macaw-ui";
|
||||||
|
|
||||||
export const useStyles = makeStyles(
|
export const useStyles = makeStyles(
|
||||||
() => ({
|
theme => ({
|
||||||
container: {
|
container: {
|
||||||
display: "grid",
|
display: "grid",
|
||||||
gridTemplateRows: "repeat(auto-fill, minmax(90px, 1fr))",
|
gridTemplateRows: "repeat(auto-fill, minmax(90px, 1fr))",
|
||||||
|
@ -16,7 +16,8 @@ export const useStyles = makeStyles(
|
||||||
notification: {
|
notification: {
|
||||||
// Parent container has disabled pointer events so we need to turn them on
|
// Parent container has disabled pointer events so we need to turn them on
|
||||||
// for action and timer pausing to work
|
// for action and timer pausing to work
|
||||||
pointerEvents: "all"
|
pointerEvents: "all",
|
||||||
|
margin: theme.spacing(2)
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
{ name: "MessageManager" }
|
{ name: "MessageManager" }
|
||||||
|
|
Loading…
Reference in a new issue