Skip to content

Commit 785599c

Browse files
authored
Merge pull request #1745 from aaniya22/fix/blog-read-time-ui
fix: move toast notification to bottom-right and update slide animation (#1716)
2 parents 93b4b2b + c02ee6f commit 785599c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/theme/Root.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Base styles for the toast container */
22
.toastContainer {
33
position: fixed;
4-
top: 20px;
4+
top: 40px;
55
right: 24px;
66
border: 1px solid oklch(0.69 0 0);
77
border-radius: 8px; /* Docusaurus --radius var is often 8px */
@@ -94,7 +94,7 @@
9494
@keyframes slideDownFadeOut {
9595
0% {
9696
opacity: 0;
97-
transform: translateY(-10px) scale(0.95);
97+
transform: translateY(10px) scale(0.95);
9898
}
9999
10%,
100100
90% {
@@ -103,6 +103,6 @@
103103
}
104104
100% {
105105
opacity: 0;
106-
transform: translateY(-10px) scale(0.95);
106+
transform: translateY(10px) scale(0.95);
107107
}
108108
}

0 commit comments

Comments
 (0)