Skip to content

Commit

Permalink
Padding for page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese committed Dec 11, 2023
1 parent c453c6a commit 1e8bf4d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions react-app/src/dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ export default function Dashboard() {

<Toolbar />

<Divider>
<Chip label="Status" variant="elevated" sx={{ fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
<Divider sx={{ padding: 1 }}>
<Chip label="Status" variant="elevated" sx={{ minWidth: 100, fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
</Divider>

<br/>
Expand Down
12 changes: 5 additions & 7 deletions react-app/src/dashboard/Payments.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,11 @@ export default function Products() {

<Toolbar />

<Divider>
<Chip label="My Transactions" variant="elevated" sx={{ fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
<Divider sx={{ padding: 1 }}>
<Chip label="My Transactions" variant="elevated" sx={{ minWidth: 100, fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
</Divider>
<br/><br/>
<div>
<Paper sx={{ width: '100%', overflow: 'hidden' }}>
<TableContainer sx={{ maxHeight: 500, minHeight: 500 }}>
<Paper sx={{ width: '100%' }}>
<TableContainer>
<Table stickyHeader aria-label="sticky table">
<TableHead>
<TableRow>
Expand Down Expand Up @@ -127,7 +125,7 @@ export default function Products() {
onRowsPerPageChange={handleChangeRowsPerPage}
/>
</Paper>
</div>


</Box>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions react-app/src/dashboard/Payouts.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export default function Payouts() {

<Toolbar />

<Divider>
<Chip label="My Payouts" variant="elevated" sx={{ fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
<Divider sx={{ padding: 1 }}>
<Chip label="My Payouts" variant="elevated" sx={{ minWidth: 100, fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
</Divider>
<br/><br/>

Expand Down
4 changes: 2 additions & 2 deletions react-app/src/dashboard/Products.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export default function Products() {

<Toolbar />

<Divider>
<Chip label="My Products" variant="elevated" sx={{ fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
<Divider sx={{ padding: 1 }}>
<Chip label="My Products" variant="elevated" sx={{ minWidth: 100, fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
</Divider>

<ProductList/>
Expand Down
4 changes: 2 additions & 2 deletions react-app/src/dashboard/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default function Settings() {

<Toolbar />

<Divider>
<Chip label="Settings" variant="elevated" sx={{ fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
<Divider sx={{ padding: 1 }}>
<Chip label="Settings" variant="elevated" sx={{ minWidth: 100, fontSize: "20px", backgroundColor: "#0abf53", color: "white" }}/>
</Divider>
<br/><br/>

Expand Down

0 comments on commit 1e8bf4d

Please sign in to comment.