Browse Source

ref(crons): Center placeholder timeline view (#53376)

David Wang 1 year ago
parent
commit
a475a058ce
1 changed files with 5 additions and 1 deletions
  1. 5 1
      static/app/views/monitors/components/overviewTimeline/index.tsx

+ 5 - 1
static/app/views/monitors/components/overviewTimeline/index.tsx

@@ -98,7 +98,7 @@ export function OverviewTimeline({monitorList}: Props) {
         <TimelineRow key={monitor.id}>
           <MonitorDetails monitor={monitor} />
           {isLoading || !monitorStats ? (
-            <Placeholder />
+            <TimelinePlaceholder />
           ) : (
             <div>
               <CheckInTimeline
@@ -181,3 +181,7 @@ const TimelineWidthTracker = styled('div')`
   grid-row: 1;
   grid-column: 2;
 `;
+
+const TimelinePlaceholder = styled(Placeholder)`
+  align-self: center;
+`;