mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
chore: Add a minimum spacing for toasts, b=(no-bug), c=common
This commit is contained in:
@@ -330,17 +330,18 @@ menuseparator {
|
||||
|
||||
#zen-toast-container {
|
||||
position: fixed;
|
||||
top: calc(var(--zen-element-separation) * 2);
|
||||
--zen-toast-spacing: max(8px, calc(var(--zen-element-separation) * 2));
|
||||
top: var(--zen-toast-spacing);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
align-items: end;
|
||||
|
||||
:root:not([zen-right-side='true']) & {
|
||||
right: calc(var(--zen-element-separation) * 2);
|
||||
right: var(--zen-toast-spacing);
|
||||
}
|
||||
|
||||
:root[zen-right-side='true'] & {
|
||||
left: calc(var(--zen-element-separation) * 2);
|
||||
left: var(--zen-toast-spacing);
|
||||
}
|
||||
|
||||
& .zen-toast {
|
||||
|
Reference in New Issue
Block a user