Skip to content

Commit

Permalink
Updated padding on Assignment creation/update
Browse files Browse the repository at this point in the history
Padding on pages to remove the padding change that occurred on PageWrapper
  • Loading branch information
kevinzhong930 committed Oct 29, 2024
1 parent b4fec18 commit dfe969f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ p {
text-align: center;
}

.pageWrapper {
padding:0px;
}

.flex {
display: flex;
justify-content: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const AssignmentCreatePage = () => {
};

return(
<PageWrapper>
<PageWrapper className={formStyles.pageWrapper}>
<h2>Create Assignment</h2>
<div className={formStyles.flex}>
<div className={formStyles.grid}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ input[type='date'] {
// }
// }

.pageWrapper {
padding:0px;
}

.assignmentBtn {
background-color: transparent;
background-repeat: no-repeat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const AssignmentUpdatePage = () => {

return (

<PageWrapper>
<PageWrapper className={styles.pageWrapper}>

<Dialog open={openModal} onClose={handleCloseModal}>
<DialogContent sx={{bgcolor:theme.listItemBackground}}>
Expand Down
1 change: 0 additions & 1 deletion devU-client/src/components/shared/layouts/pageWrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
.content {
margin-top: 20px;
flex-grow: 1;
padding:50px;
}

0 comments on commit dfe969f

Please sign in to comment.