Animate dropdown menus (#7704)
* animate dropdowns * rm unused animation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user