Skip to content

Commit

Permalink
Merge pull request #16 from TartejBrothers/Changes
Browse files Browse the repository at this point in the history
Updated Project page
  • Loading branch information
TartejBrothers authored Jan 9, 2024
2 parents dd984ab + 4310c90 commit 25e979f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/components/project.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ export default function ProjectPage() {
<div className="datebody">18th November</div>
<div className="datebody">22nd - 30th November </div>
</div>
<button type="submit" className="submitbutton calculatebutton">
Calculate
</button>
</div>
);
}
29 changes: 28 additions & 1 deletion src/components/styles/project.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,36 @@ html {
}
.datebody {
background-color: #b9e0e1;
padding: 10px 20px;
padding: 5px 20px;
font-size: 18px;
border-radius: 50px;
display: flex;
align-items: center;
}
.calculatebutton {
margin: 40px auto 40px auto;
}
@media screen and (max-width: 1000px) {
.react-datepicker__month-container {
padding: 0px;
width: calc(90vw + 25px);
margin: auto 0px auto;
}
.react-datepicker__input-container input {
width: 90vw;
}
.datesadded {
width: 90vw;
flex-direction: column;
}
.datemain {
justify-content: center;
padding: 0px 20px 0px 20px;
border-radius: 0px;
}
.datebody {
justify-content: center;
border-radius: 0px;
padding: 10px 20px 10px 20px;
}
}

0 comments on commit 25e979f

Please sign in to comment.