Animate dropdown menus (#7704)

* animate dropdowns

* rm unused animation
This commit is contained in:
Samuel Newman
2025-02-12 21:20:08 +00:00
committed by GitHub
parent 5d3e2e1467
commit ff2a82d358
2 changed files with 14 additions and 1 deletions
+6
View File
@@ -187,6 +187,7 @@ input:focus {
animation: rotate 500ms linear infinite;
}
/* animations for atoms */
@keyframes fadeIn {
from {
opacity: 0;
@@ -214,6 +215,11 @@ input:focus {
}
}
/* animating radix dropdowns requires knowing the data attributes */
.dropdown-menu-transform-origin > * {
transform-origin: var(--radix-dropdown-menu-content-transform-origin);
}
.force-no-clicks > *,
.force-no-clicks * {
pointer-events: none !important;