Skip to content

Commit

Permalink
Styling
Browse files Browse the repository at this point in the history
* Added height to version
* Removed unused property
  • Loading branch information
Elkrival committed Nov 2, 2023
1 parent b86cd69 commit ab16be0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions views/components/Sidebar/SidebarFooter.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
display: flex;
justify-content: space-around;
}
.sidebar_footer_version {
height: 50px;
padding: 16px;
}
8 changes: 5 additions & 3 deletions views/components/Sidebar/SidebarFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ const SidebarFooter = ({ user }) => {
Log Out
</Button>
</CardActions>
<Typography variant="caption" sx={{ color: 'grey.A100', p: '16px' }}>
DpDash v{process.env.DPDASH_VERSION}
</Typography>
<div className="sidebar_footer_version">
<Typography variant="caption" sx={{ color: 'grey.A100' }}>
DpDash v{process.env.DPDASH_VERSION}
</Typography>
</div>
</Card>
)
}
Expand Down
1 change: 0 additions & 1 deletion views/layouts/MainLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ const MainLayout = () => {
sx={{
flexGrow: 1,
p: 3,
minHeight: '100vh',
}}
>
<Outlet
Expand Down

0 comments on commit ab16be0

Please sign in to comment.