Skip to content

Commit

Permalink
Merge pull request #2773 from ClickHouse/no-animation
Browse files Browse the repository at this point in the history
I think it will be better without animation
  • Loading branch information
alexey-milovidov authored Nov 10, 2024
2 parents b274ce6 + 92bb567 commit 2aadae1
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/theme/Navbar/Content/GlobalMenu/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@
top: 0;
left: 0;
width: 100%;
animation-duration: 250ms;
animation-timing-function: ease;
display: flex;
flex-direction: column;
overflow: hidden;
Expand All @@ -188,18 +186,6 @@
padding-bottom: 10px;
}

.navigationMenuContent[data-motion='from-start'] {
animation-name: enterFromLeft;
}
.navigationMenuContent[data-motion='from-end'] {
animation-name: enterFromRight;
}
.navigationMenuContent[data-motion='to-start'] {
animation-name: exitToLeft;
}
.navigationMenuContent[data-motion='to-end'] {
animation-name: exitToRight;
}
@media only screen and (min-width: 600px) {
.navigationMenuContent {
width: auto;
Expand All @@ -216,12 +202,6 @@
z-index: 1;
transition: width, transform 250ms ease;
}
.navigationMenuIndicator[data-state='visible'] {
animation: fadeIn 200ms ease;
}
.navigationMenuIndicator[data-state='hidden'] {
animation: fadeOut 200ms ease;
}

.navigationMenuViewport {
position: relative;
Expand All @@ -238,12 +218,6 @@
filter: drop-shadow(0px 2px 2px rgba(50, 50, 50, 0.1));
}

.navigationMenuViewport[data-state='open'] {
animation: scaleIn 200ms ease;
}
.navigationMenuViewport[data-state='closed'] {
animation: scaleOut 200ms ease;
}
@media only screen and (min-width: 600px) {
.navigationMenuViewport {
width: var(--radix-navigation-menu-viewport-width);
Expand Down

0 comments on commit 2aadae1

Please sign in to comment.