@@ -263,44 +263,29 @@ function _Insights() {
263
263
}
264
264
headStyle = { { backgroundColor : 'rgba(0,0,0,.03)' } }
265
265
>
266
- < div >
267
- { showErrorMessage ? (
268
- < ErrorMessage />
269
- ) : (
270
- showTimeoutMessage && < TimeOut isLoading = { isLoading } />
271
- ) }
272
- < div
273
- style = { {
274
- display : showErrorMessage || showTimeoutMessage ? 'none' : 'block' ,
275
- } }
276
- >
277
- { featureFlags [ 'remove-shownas' ]
278
- ? {
279
- [ `${ ViewType . TRENDS } ` ] : < TrendInsight view = { ViewType . TRENDS } /> ,
280
- [ `${ ViewType . STICKINESS } ` ] : (
281
- < TrendInsight view = { ViewType . STICKINESS } />
282
- ) ,
283
- [ `${ ViewType . LIFECYCLE } ` ] : (
284
- < TrendInsight view = { ViewType . LIFECYCLE } />
285
- ) ,
286
- [ `${ ViewType . SESSIONS } ` ] : (
287
- < TrendInsight view = { ViewType . SESSIONS } />
288
- ) ,
289
- [ `${ ViewType . FUNNELS } ` ] : < FunnelInsight /> ,
290
- [ `${ ViewType . RETENTION } ` ] : < RetentionContainer /> ,
291
- [ `${ ViewType . PATHS } ` ] : < Paths /> ,
292
- } [ activeView ]
293
- : {
294
- [ `${ ViewType . TRENDS } ` ] : < TrendInsight view = { ViewType . TRENDS } /> ,
295
- [ `${ ViewType . SESSIONS } ` ] : (
296
- < TrendInsight view = { ViewType . SESSIONS } />
297
- ) ,
298
- [ `${ ViewType . FUNNELS } ` ] : < FunnelInsight /> ,
299
- [ `${ ViewType . RETENTION } ` ] : < RetentionContainer /> ,
300
- [ `${ ViewType . PATHS } ` ] : < Paths /> ,
301
- } [ activeView ] }
302
- </ div >
303
- </ div >
266
+ { showErrorMessage ? (
267
+ < ErrorMessage />
268
+ ) : showTimeoutMessage ? (
269
+ < TimeOut isLoading = { isLoading } />
270
+ ) : featureFlags [ 'remove-shownas' ] ? (
271
+ {
272
+ [ `${ ViewType . TRENDS } ` ] : < TrendInsight view = { ViewType . TRENDS } /> ,
273
+ [ `${ ViewType . STICKINESS } ` ] : < TrendInsight view = { ViewType . STICKINESS } /> ,
274
+ [ `${ ViewType . LIFECYCLE } ` ] : < TrendInsight view = { ViewType . LIFECYCLE } /> ,
275
+ [ `${ ViewType . SESSIONS } ` ] : < TrendInsight view = { ViewType . SESSIONS } /> ,
276
+ [ `${ ViewType . FUNNELS } ` ] : < FunnelInsight /> ,
277
+ [ `${ ViewType . RETENTION } ` ] : < RetentionContainer /> ,
278
+ [ `${ ViewType . PATHS } ` ] : < Paths /> ,
279
+ } [ activeView ]
280
+ ) : (
281
+ {
282
+ [ `${ ViewType . TRENDS } ` ] : < TrendInsight view = { ViewType . TRENDS } /> ,
283
+ [ `${ ViewType . SESSIONS } ` ] : < TrendInsight view = { ViewType . SESSIONS } /> ,
284
+ [ `${ ViewType . FUNNELS } ` ] : < FunnelInsight /> ,
285
+ [ `${ ViewType . RETENTION } ` ] : < RetentionContainer /> ,
286
+ [ `${ ViewType . PATHS } ` ] : < Paths /> ,
287
+ } [ activeView ]
288
+ ) }
304
289
</ Card >
305
290
{ ! showErrorMessage && ! showTimeoutMessage && activeView === ViewType . FUNNELS && (
306
291
< Card >
@@ -324,7 +309,7 @@ function TrendInsight({ view }) {
324
309
{ ( _filters . actions || _filters . events || _filters . session ) && (
325
310
< div
326
311
style = { {
327
- minHeight : '70vh ' ,
312
+ minHeight : 'calc(90vh - 16rem) ' ,
328
313
position : 'relative' ,
329
314
} }
330
315
>
0 commit comments