Skip to content

Commit

Permalink
Change CSS naming
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Nov 15, 2023
1 parent a4c71e7 commit c7cb871
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions frontend/src/scenes/retention/RetentionTable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@
padding-left: 0.25rem;
padding-right: 0.25rem;
}

.RetentionTable__TextTab {
padding-left: 0.25rem;
padding-right: 0.25rem;
}

.RetentionTable__Tab {
margin: 0;
padding: 0.5rem 0.25rem;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/scenes/web-analytics/WebDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const TabsTileItem = ({ tile }: { tile: TabsTile }): JSX.Element => {
<WebTabs
className={clsx(
'col-span-1 row-span-1',
` md:col-span-${layout.colSpan ?? 6} md:row-span-${layout.rowSpan ?? 1}`,
`md:col-span-${layout.colSpan ?? 6} md:row-span-${layout.rowSpan ?? 1}`,
layout.className
)}
activeTabId={tile.activeTabId}
Expand Down Expand Up @@ -153,7 +153,7 @@ const WebQuery = ({ query }: { query: QuerySchema }): JSX.Element => {

export const WebAnalyticsDashboard = (): JSX.Element => {
return (
<div className="web-analytics-page w-full flex flex-col pt-2">
<div className="WebAnalyticsDashboard w-full flex flex-col pt-2">
<WebAnalyticsNotice />
<Filters />
<WebAnalyticsHealthCheck />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/web-analytics/webAnalytics.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.web-analytics-page {
.WebAnalyticsDashboard {
// TODO remove this when we no longer use the deprecated Card component
.ant-card-body {
padding: 0;
Expand Down

0 comments on commit c7cb871

Please sign in to comment.