diff --git a/frontend/src/IPRangesManager.jsx b/frontend/src/IPRangesManager.jsx
index 6661d15..4fa2d0d 100644
--- a/frontend/src/IPRangesManager.jsx
+++ b/frontend/src/IPRangesManager.jsx
@@ -1078,11 +1078,12 @@ function IPRangesManager() {
{item.ipRange}
-
+
@@ -1110,14 +1111,14 @@ function IPRangesManager() {
>
) : (
<>
-
-
+
+
-
-
+
+
-
-
+
+
>
)}
diff --git a/frontend/src/components/Tooltip.jsx b/frontend/src/components/Tooltip.jsx
index f12c64c..787097d 100644
--- a/frontend/src/components/Tooltip.jsx
+++ b/frontend/src/components/Tooltip.jsx
@@ -155,6 +155,36 @@ function Tooltip({
}
}
+ @keyframes tooltipFadeInTop {
+ from {
+ opacity: 0;
+ transform: translate(-50%, calc(-100% - 4px)) scale(0.95);
+ }
+ to {
+ opacity: 1;
+ transform: translate(-50%, calc(-100% - 8px)) scale(1);
+ }
+ }
+
+ @keyframes tooltipFadeInBottom {
+ from {
+ opacity: 0;
+ transform: translate(-50%, 4px) scale(0.95);
+ }
+ to {
+ opacity: 1;
+ transform: translate(-50%, 8px) scale(1);
+ }
+ }
+
+ .tooltip-content.tooltip-top {
+ animation: tooltipFadeInTop 0.15s ease-out;
+ }
+
+ .tooltip-content.tooltip-bottom {
+ animation: tooltipFadeInBottom 0.15s ease-out;
+ }
+
@media (prefers-color-scheme: dark) {
.tooltip-inner {
background: var(--tblr-gray-800, #1e293b);