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

refactor: Content should have some left and right margins in responsive mode #7498 #8098

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Dev-Ashank
Copy link

@Dev-Ashank Dev-Ashank commented Feb 13, 2023

Styles updated for small screen .

What

Related issue(s) and discussion

Styles updated for small screen .
@Dev-Ashank Dev-Ashank requested a review from a team as a code owner February 13, 2023 18:50
@Dev-Ashank Dev-Ashank changed the title style issue#7498 refactor: style issue#7498 Feb 13, 2023
Copy link
Member

@alexgarel alexgarel left a comment

Choose a reason for hiding this comment

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

Perfect @Dev-Ashank !

That's so great to see this kind of issue tackled :-)

@Dev-Ashank
Copy link
Author

Perfect @Dev-Ashank !

That's so great to see this kind of issue tackled :-)

Thanks.
Looking for more I can contribute to this project.

margin-left: 0;
}
.title-5 {
font-size: 1.2857142857rem;
Copy link
Member

Choose a reason for hiding this comment

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

Why is this font-size so specific? Have you taken it from somewhere?

Copy link
Author

Choose a reason for hiding this comment

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

It's already there when I am testing in developer mode in chrome. I should have removed it.

font size removed.
@stephanegigandet
Copy link
Contributor

For the footer links, there are some sizes where the issue remains:

image

I think the best way to solve this is just to change this margin:

#contribute_and_discover_links_block {
  .inline-list {
    margin-left: rem-calc(-17);
  }
}

}
}

@media #{$small-only} {
Copy link
Contributor

Choose a reason for hiding this comment

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

Those changes might apply to a lot of other p tags elsewhere.

I would prefer to have a local rule like this one:

#contribute_and_discover_links_block {
  .inline-list {
    margin-left: rem-calc(-17);
  }
}

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I tested it, the pagination works great. One small issue for medium size. Also I think a more local rule would be better. Thanks!

@Dev-Ashank
Copy link
Author

Thanks for the PR! I tested it, the pagination works great. One small issue for medium size. Also I think a more local rule would be better. Thanks!

Thanks for reviewing PR and I would update for medium size also . I will always remember to apply local rule as much as possible Thanks for guidance ❤️.

@stephanegigandet
Copy link
Contributor

Hi @Dev-Ashank , just wondering if you still plan to work on this PR? Thanks!

@Dev-Ashank
Copy link
Author

Hi @Dev-Ashank , just wondering if you still plan to work on this PR? Thanks!

Yes I was waiting for feedback.

@sonarcloud
Copy link

sonarcloud bot commented Mar 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@teolemon teolemon changed the title refactor: style issue#7498 refactor: Content should have some left and right margins in responsive mode #7498 Nov 9, 2023
Copy link

sonarcloud bot commented Nov 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
1.9% 1.9% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

NEW DESIGN - Content should have some left and right margins in responsive mode
5 participants