Skip to content

Commit 449a51b

Browse files
AustinMrozgithub-actions
andauthored
Move toasts downwards so they don't overlap run button (#6216)
<img width="431" height="127" alt="image" src="https://github.com/user-attachments/assets/76fece3a-c001-40c7-9036-e12900869e1d" /> Could potentially be improved to not use magic constants. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6216-Move-toasts-downwards-so-they-don-t-overlap-run-button-2956d73d365081d0b361fa396962c806) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <[email protected]>
1 parent bd3f020 commit 449a51b

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed
1 KB
Loading
379 Bytes
Loading
-3.2 KB
Loading

src/components/toast/GlobalToast.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function updateToastPosition() {
6464
6565
styleElement.textContent = `
6666
.p-toast.p-component.p-toast-top-right {
67-
top: ${rect.top + 20}px !important;
67+
top: ${rect.top + 100}px !important;
6868
right: ${window.innerWidth - (rect.left + rect.width) + 20}px !important;
6969
}
7070
`

0 commit comments

Comments
 (0)