Skip to content

Commit

Permalink
Fix application list styling (#446)
Browse files Browse the repository at this point in the history
**What this PR does / why we need it**:

**Which issue(s) this PR fixes**:

Fixes #444 

**Does this PR introduce a user-facing change?**:
<!--
If no, just write "NONE" in the release-note block below.
-->
```release-note
NONE
```

This PR was merged by Kapetanios.
  • Loading branch information
cakecatz committed Jul 16, 2020
1 parent a5f45d9 commit 8867ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions pkg/app/web/src/components/application-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const useStyles = makeStyles((theme) => ({
root: {
padding: theme.spacing(2),
flex: 1,
overflow: "auto",
},
statusCell: {
display: "flex",
Expand Down
9 changes: 3 additions & 6 deletions pkg/app/web/src/pages/applications/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ import { addApplication, fetchApplications } from "../../modules/applications";
import { AppDispatch } from "../../store";

const useStyles = makeStyles((theme) => ({
root: {
height: "100%",
},
main: {
display: "flex",
height: "100%",
overflow: "hidden",
},
toolbarSpacer: {
flexGrow: 1,
Expand Down Expand Up @@ -51,7 +48,7 @@ export const ApplicationIndexPage: FC = memo(function ApplicationIndexPage() {
);

return (
<div className={classes.root}>
<>
<Toolbar variant="dense">
<Button
color="primary"
Expand Down Expand Up @@ -95,6 +92,6 @@ export const ApplicationIndexPage: FC = memo(function ApplicationIndexPage() {
isAdding={isAdding}
/>
</Drawer>
</div>
</>
);
});

0 comments on commit 8867ab6

Please sign in to comment.