Skip to content

Commit e99c40b

Browse files
committed
Merge branch 'dev' of https://github.com/zen-browser/desktop into dev
2 parents e181381 + 6fa0e81 commit e99c40b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/zen/common/styles/zen-popup.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,17 +334,18 @@ menuseparator {
334334

335335
#zen-toast-container {
336336
position: fixed;
337-
top: calc(var(--zen-element-separation) * 2);
337+
--zen-toast-spacing: max(8px, calc(var(--zen-element-separation) * 2));
338+
top: var(--zen-toast-spacing);
338339
z-index: 1000;
339340
display: flex;
340341
align-items: end;
341342

342343
:root:not([zen-right-side='true']) & {
343-
right: calc(var(--zen-element-separation) * 2);
344+
right: var(--zen-toast-spacing);
344345
}
345346

346347
:root[zen-right-side='true'] & {
347-
left: calc(var(--zen-element-separation) * 2);
348+
left: var(--zen-toast-spacing);
348349
}
349350

350351
& .zen-toast {

0 commit comments

Comments
 (0)