Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/general modifications #24

Merged
merged 2 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Air-quality is a full stack app that displays numeric air-quality data from vari

## 🚀 Project Presentation <a name="project-presentation"></a>

- [Project Presentation ](https://loom.com)
- [Project Presentation ](https://www.loom.com/share/a0e8aafa6cdf45a9a7a0e07eac834d92?sid=fc3729f8-0efd-439c-a260-7991e9cddd6c)

<p align="right">(<a href="#readme-top">back to top</a>)</p>

Expand Down
2 changes: 1 addition & 1 deletion src/components/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Home = () => {
<div className="card-info-container flex-container flex-column">
<Card.Title style={{ width: '6rem' }} className="title-text white-text bold ellipsis- multiline-2 text-wrap">
{' '}
{truncatedTitle}
{truncatedTitle.toUpperCase()}
</Card.Title>
</div>
<div className="measurements-text white-text wrap-break">
Expand Down
33 changes: 26 additions & 7 deletions src/media/mediaConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const mobileMediaQuery = css`
padding-top: 29px;
margin-bottom: 34px;
height: 170px;


.card-content {
justify-content: flex-start;
Expand All @@ -85,18 +86,36 @@ export const mobileMediaQuery = css`
.card-info-container {
margin-top: 55px;
}

.sub-text {
margin-top: -36px;
}
}
}

@media (max-width: 390px) {
@media (max-width: 393px) {
.card-content {
margin-top: 13px;
margin-top: -3px;
padding-top: 12px;
}
}

@media (max-width: 393px) {
.card-content {
margin-top: 12px;
}
}
@media (max-width: 414px) {
.card-content {
padding-top: 20px;
margin-top: -1px;
}

.sub-text {
margin-top: -36px;
}

.top-card {
padding-top: 21px;
}

.content-card {
margin-bottom: 23px;
}
}
`;