Skip to content

Commit

Permalink
Fix min height of heading in admin pods (#1537)
Browse files Browse the repository at this point in the history
Summary: See screenshots
Before...

![image](https://github.com/pixie-io/pixie/assets/314133/a600ecea-adb4-4f7d-b606-a23fcc1dfc07)
After...
<img width="1232" alt="image"
src="https://github.com/pixie-io/pixie/assets/314133/9493ec4d-7a50-44dd-83ba-3741c7798ade">

Relevant Issues: N/A

Type of change: /kind bugfix

Test Plan: `/admin/clusters`, open a cluster that doesn't have a lot
going on, go to pods tab.

Signed-off-by: Nick Lanam <[email protected]>
  • Loading branch information
NickLanam authored Jun 20, 2023
1 parent 67f30bb commit 90de775
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const PixiePodsTab = React.memo<{
const dataPlaneDisplay = dataPlanePods.map((podStatus) => formatPodStatus(podStatus));

return (
<>
<div className={classes.root}>
<div className={`${classes.podTypeHeader} ${classes.topPadding}`}> Control Plane Pods </div>
<Table>
<PodHeader />
Expand Down Expand Up @@ -205,7 +205,7 @@ export const PixiePodsTab = React.memo<{
}
</TableBody>
</Table>
</>
</div>
);
});
PixiePodsTab.displayName = 'PixiePodsTab';
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export const useClusterDetailStyles = makeStyles((theme: Theme) => createStyles(
alignItems: 'center',
height: '100%',
paddingLeft: theme.spacing(2),
flex: '0 1',
},
topPadding: {
paddingTop: theme.spacing(2),
Expand Down

0 comments on commit 90de775

Please sign in to comment.