Update onboarding notification on step 2 to be not chopped
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>pull/13023/head
parent
43d582c484
commit
c60276a779
|
@ -98,11 +98,7 @@ class Notification extends Component<Props, State> {
|
|||
}
|
||||
|
||||
private get notificationStyle(): CSSProperties {
|
||||
const {height} = this.state
|
||||
|
||||
const NOTIFICATION_MARGIN = 4
|
||||
|
||||
return {height: height + NOTIFICATION_MARGIN}
|
||||
return {height: '100%'}
|
||||
}
|
||||
|
||||
private updateHeight = (): void => {
|
||||
|
|
|
@ -86,6 +86,7 @@ $notification-margin: 12px;
|
|||
.notification-container {
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
margin-bottom: $ix-marg-a;
|
||||
transition: height 0.25s ease;
|
||||
|
||||
&.show .notification {
|
||||
|
|
Loading…
Reference in New Issue