Browse Source

Set notification width to fixed

pull/6828/head
Mel O'Hagan 4 years ago
parent
commit
23201f784c
  1. 7
      packages/client/src/components/overlay/NotificationDisplay.svelte

7
packages/client/src/components/overlay/NotificationDisplay.svelte

@ -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>

Loading…
Cancel
Save