Skip to content

Commit

Permalink
fix: WebAnalytics insight styles (#19242)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite authored Dec 11, 2023
1 parent 580c7b1 commit db92edf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 1 addition & 7 deletions frontend/src/scenes/web-analytics/WebAnalyticsTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,7 @@ export const WebStatsTrendTile = ({
}, [onWorldMapClick])

return (
<div
className={'border'}
// eslint-disable-next-line react/forbid-dom-props
style={{
borderRadius: 'var(--radius)',
}}
>
<div className="border rounded bg-bg-light">
{showIntervalTile && (
<div className="flex flex-row items-center justify-end m-2 mr-4">
<div className="flex flex-row items-center">
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/scenes/web-analytics/webAnalyticsLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
breakdownBy: WebStatsBreakdown.Page,
dateRange,
},
embedded: false,
},
},
{
Expand All @@ -409,6 +410,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
breakdownBy: WebStatsBreakdown.InitialPage,
dateRange,
},
embedded: false,
},
},
],
Expand Down Expand Up @@ -505,6 +507,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
hideAggregation: true,
},
},
embedded: true,
},
},
{
Expand All @@ -520,6 +523,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
breakdownBy: WebStatsBreakdown.Browser,
dateRange,
},
embedded: false,
},
},
{
Expand All @@ -535,6 +539,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
breakdownBy: WebStatsBreakdown.OS,
dateRange,
},
embedded: false,
},
},
],
Expand Down Expand Up @@ -565,6 +570,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
useSmallLayout: !isGreaterThanMd,
},
},
embedded: true,
},
},
shouldShowGeographyTile
Expand Down Expand Up @@ -602,6 +608,7 @@ export const webAnalyticsLogic = kea<webAnalyticsLogicType>([
properties: webAnalyticsFilters,
},
hidePersonsModal: true,
embedded: true,
},
},
{
Expand Down

0 comments on commit db92edf

Please sign in to comment.