Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
fix weird styling issues 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian-Webster committed Sep 23, 2022
1 parent 7c4ac4c commit 12c5a56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function App() {
</div>
</header>
{storedCredentials ?
<div style={{height: '100vh', width: '100vw', margin: 0, padding: 0, paddingTop: 70}}>
<div style={{height: 'calc(100vh - 92px)', width: '100vw', margin: 0, padding: 0, paddingTop: 70}}>
<Outlet/>
</div>
:
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/routes/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ const Settings = () => {

return (
<div style={{width: '100%', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center', flexDirection: 'column'}}>
<div style={{height: '85%', width: '50%', maxWidth: '50%', backgroundColor: colors.secondary, display: 'flex', flexDirection: 'row', borderRadius: 30}}>
<div style={{width: 170, height: '100%', borderRight: `2px solid ${colors.tertiary}`, padding: '30px 5px', overflow: 'scroll'}}>
<h1>Settings</h1>
<div style={{height: '90%', width: '50%', maxWidth: '50%', backgroundColor: colors.secondary, display: 'flex', flexDirection: 'row', borderRadius: 30}}>
<div style={{width: 170, height: 'calc(100% - 60px)', borderRight: `2px solid ${colors.tertiary}`, padding: '30px 5px', overflow: 'scroll'}}>
<NavLink to='changepassword' style={selectStyles}>
<p>Change Password</p>
</NavLink>
Expand Down

0 comments on commit 12c5a56

Please sign in to comment.