Skip to content

Commit 521b409

Browse files
authored
Use negative top instead of transform for nav bar hide animation (#797)
1 parent c1728c1 commit 521b409

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/NetworkOptimizer.Web/wwwroot/css

src/NetworkOptimizer.Web/wwwroot/css/app.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3108,12 +3108,12 @@ select.form-control {
31083108
height: auto;
31093109
padding: 0.75rem 1rem;
31103110
gap: 0.5rem;
3111-
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
3111+
transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1);
31123112
}
31133113

31143114
.top-bar.top-bar-hidden {
31153115
position: sticky;
3116-
transform: translateY(-100%);
3116+
top: -100%;
31173117
pointer-events: none;
31183118
}
31193119

0 commit comments

Comments
 (0)