Skip to content

Commit

Permalink
Ui Change
Browse files Browse the repository at this point in the history
  • Loading branch information
brijsiyag committed Dec 1, 2021
1 parent 9d839eb commit 5aa76c2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ npm run package
- [ ] Open Folder in new Terminal or Terminal Tab
- [ ] Cut or Copy Progress
- [ ] Delete Progress
- [ ] External Devices Support
- [ ] Os's Context Menu Add
2 changes: 1 addition & 1 deletion src/renderer/Filemanger/Body/Body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import LowerBodyContainer from './FilesFolders/BodyContainer';
import UpperBodyContainer from './Tabs/TabsContainer';
const Body = () => {
return (
<div>
<div style={{ width: '100%' }}>
<UpperBodyContainer />
<LowerBodyContainer />
</div>
Expand Down
16 changes: 9 additions & 7 deletions src/renderer/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ const styles = {
header: {
backgroundColor: 'rgb(42,42,42)',
minHeight: '50px',
width: '100%',
},
body: {
backgroundColor: 'rgb(36,35,35)',
height: '100vh',
overflow: 'auto',
display: 'flex',
},
};
export default function Main(): ReactElement {
Expand Down Expand Up @@ -54,15 +56,15 @@ export default function Main(): ReactElement {
overflow: 'hidden',
}}
>
<Grid container flexWrap="nowrap">
<Grid item sx={styles.sidebar}>
<Sidebar />
<Grid container flexWrap="wrap">
<Grid sx={styles.header}>
<Header />
</Grid>
<Grid height="100vh" flexDirection="column" flexGrow="1">
<Grid sx={styles.header}>
<Header />
<Grid display="flex" height="100vh" width="100vw" flexWrap="nowrap">
<Grid item sx={styles.sidebar}>
<Sidebar />
</Grid>
<Grid justifyContent="center" sx={styles.body}>
<Grid sx={styles.body} flexGrow="1">
<Body />
</Grid>
</Grid>
Expand Down

0 comments on commit 5aa76c2

Please sign in to comment.