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

Use margin instead of the padding for sections #1582

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

YoshithaRathnayake
Copy link
Member

@YoshithaRathnayake YoshithaRathnayake commented Jun 2, 2023

Purpose

The purpose of this PR is to fix #1485

Goals

Using margin instead of the padding for sections

Approach

Replace the margin for paddings

Screenshots

Before

image

After

image

  • See the top of the hero image to identify the change

Preview Link

https://pr-1582-sef-site.surge.sh/

Checklist

  • I have read and understood the development best practices guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

Related PRs

Learning

Copy link
Member

@anjula-sack anjula-sack left a comment

Choose a reason for hiding this comment

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

Update the following instead of updating all the files @YoshithaRathnayake,

padding-top: 4rem;

padding-bottom: 4rem;

@YoshithaRathnayake
Copy link
Member Author

How about now @anjula-sack ?

Copy link
Member

@anjula-sack anjula-sack left a comment

Choose a reason for hiding this comment

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

Revert the other changes @YoshithaRathnayake

@YoshithaRathnayake
Copy link
Member Author

@anjula-sack how about now?

Copy link
Member

@anjula-sack anjula-sack left a comment

Choose a reason for hiding this comment

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

@YoshithaRathnayake the only file that needs to be updated is assets/css/argon.css

@YoshithaRathnayake
Copy link
Member Author

How about now? @anjula-sack

@YoshithaRathnayake
Copy link
Member Author

I have fixed some spacing issues also @anjula-sack

@YoshithaRathnayake
Copy link
Member Author

@Piumal1999 can you review this too?

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

Successfully merging this pull request may close these issues.

Use margin instead of the padding for sections
2 participants