Skip to content

Commit

Permalink
[UI] Fix SideNav too tall when collapsed (kubeflow#3239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy authored and Jeffwan committed Dec 9, 2020
1 parent db6419d commit 72728c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/SideNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,15 @@ export const css = stylesheet({
opacity: 0,
transition: 'opacity 0s',
transitionDelay: '0s',
// guarantees info doesn't affect layout when hidden
overflow: 'hidden',
height: 0,
},
infoVisible: {
opacity: 'initial',
transition: 'opacity 0.2s',
transitionDelay: '0.3s',
overflow: 'hidden',
},
label: {
fontSize: fontsize.base,
Expand Down

0 comments on commit 72728c3

Please sign in to comment.