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

Fix/morda fixes #72

Merged
merged 3 commits into from
Aug 13, 2023
Merged

Fix/morda fixes #72

merged 3 commits into from
Aug 13, 2023

Conversation

pornoiya
Copy link
Contributor

No description provided.

@@ -117,6 +129,7 @@
}

.CardSubtitle {
font-size: clamp(20px, 1.3vw, 24px);
font-size: clamp(16px, 16px, 24px);
line-height: 22px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's set a relative value 1.375 for better adaptability

line-height: 20px;
margin-bottom: 32px;
margin-top: 20px;
align-content: center;
Copy link
Member

@sashachabin sashachabin Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it can be removed. This property works for alignment flex wrapped items in combination with flex-wrap

Copy link
Contributor Author

@pornoiya pornoiya Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 17 it's flex alignment, and it actually essential


.MainPageLogo {
font-size: 20px;
line-height: 20px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use line-height: 1 for consistency

@@ -57,8 +57,6 @@ export function MainPage({ cards, cardsDynamicData, marqueeItems }: MainPageType

<Marquee items={marqueeItems.map(({ attributes: { message } }) => message)} />
</div>

<div className={styles.MainPageFooter}></div>
Copy link
Member

@sashachabin sashachabin Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove .MainPageFooter from project

@sashachabin sashachabin self-requested a review August 13, 2023 07:56
@@ -2,7 +2,6 @@
display: flex;
justify-content: center;
overflow: hidden;
background: url(./Footer.svg) repeat-x center bottom;
background-size: 150% auto;
padding-bottom: 22vw;
Copy link
Member

@sashachabin sashachabin Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use smaller value for padding-bottom. Looks very large at >1600px width screens

For example, 80px

image

@@ -74,6 +73,24 @@
}
}

@media screen and (max-width: 1000px) {
Copy link
Member

@sashachabin sashachabin Aug 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use min-width breakpoints in this project. We try to follow the mobile-first principles

@sashachabin sashachabin self-requested a review August 13, 2023 08:01
@pornoiya pornoiya merged commit 846acd4 into main Aug 13, 2023
1 check passed
@pornoiya pornoiya deleted the fix/morda-fixes branch August 13, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants