Set notification width to fixed

This commit is contained in:
Mel O'Hagan 2022-07-21 12:03:01 +01:00
parent 96c99da3ce
commit 3fdc037082
1 changed files with 5 additions and 2 deletions

View File

@ -32,7 +32,6 @@
position: fixed; position: fixed;
top: 20px; top: 20px;
bottom: 40px; bottom: 40px;
width: 25%;
left: 0; left: 0;
right: 0; right: 0;
margin: 0 auto; margin: 0 auto;
@ -41,8 +40,12 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;
align-items: end; align-items: center;
pointer-events: none; pointer-events: none;
gap: 10px; gap: 10px;
} }
.notifications :global(.spectrum-Toast) {
width: 400px;
max-width: 100vw;
}
</style> </style>