Browse Source

fix(dashboards): Add padding under page filters in default-overview (#37131)

Nar Saynorath 2 years ago
parent
commit
05775d59e2
1 changed files with 6 additions and 2 deletions
  1. 6 2
      static/app/views/dashboardsV2/detail.tsx

+ 6 - 2
static/app/views/dashboardsV2/detail.tsx

@@ -707,11 +707,11 @@ class DashboardDetail extends Component<Props, State> {
                 widgetLimitReached={widgetLimitReached}
               />
             </StyledPageHeader>
-            <PageFilterBar condensed>
+            <StyledPageFilterBar condensed>
               <ProjectPageFilter />
               <EnvironmentPageFilter />
               <DatePageFilter alignDropdown="left" />
-            </PageFilterBar>
+            </StyledPageFilterBar>
             <HookHeader organization={organization} />
             <Dashboard
               paramDashboardId={dashboardId}
@@ -921,4 +921,8 @@ const StyledPageContent = styled(PageContent)`
   padding: 0;
 `;
 
+const StyledPageFilterBar = styled(PageFilterBar)`
+  margin-bottom: ${space(2)};
+`;
+
 export default withApi(withOrganization(DashboardDetail));