From f89478bf67aa0841292f7461bd6f296b75f3538f Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Mon, 24 Mar 2025 11:11:05 +0100 Subject: [PATCH] fix(styles): adjust zen-toast-container positioning for right-side alignment --- src/browser/base/content/zen-styles/zen-popup.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/browser/base/content/zen-styles/zen-popup.css b/src/browser/base/content/zen-styles/zen-popup.css index 63fc98beb..8cb651477 100644 --- a/src/browser/base/content/zen-styles/zen-popup.css +++ b/src/browser/base/content/zen-styles/zen-popup.css @@ -351,12 +351,19 @@ menuitem { #zen-toast-container { position: fixed; top: calc(var(--zen-element-separation) * 2); - right: calc(var(--zen-element-separation) * 2); z-index: 1000; gap: 1rem; display: flex; align-items: end; + :root:not([zen-right-side='true']) & { + right: calc(var(--zen-element-separation) * 2); + } + + :root[zen-right-side='true'] & { + left: calc(var(--zen-element-separation) * 2); + } + & .zen-toast { padding: 0.9rem 0.8rem; border-radius: 12px;