mi6 / mi6/ic-design-system

Padding/Margins are not consistent on all pages (smaller breakpoints)

Open
#710 0 comments 0 reactions 1 assignee Claimed by @mi6-228 View on GitHub
good first issue
Dominant language
MDX
Stars
79
Forks
52
Avg merge
18h 58m
Merged PRs (30d)
4

Description

## Summary of the bug

When the size of the screen reaches <768px (smaller breakpoints) the padding is not inline with the page header, thus not following the design guidance and other pages such as the [Homepage](https://design.sis.gov.uk/) and [Component Gallery](https://design.sis.gov.uk/components) page.

Therefore this is inconsistent in the code, ic-section-container seems to have extra padding on a few pages and this effects the smaller breakpoints on all pages apart from the [Homepage](https://design.sis.gov.uk/) and [Component Gallery](https://design.sis.gov.uk/components) page.

## 🪜 How to reproduce

Tell us the steps to reproduce the problem:

Ensure your viewpoint is at 768px or less.

1. Go to page: [Accessibility](https://design.sis.gov.uk/accessibility)
2. See the alignment of the content and the page header not being inline

Then compare it to the Home & Component Gallery page

1. Go to page: [Component Gallery](https://design.sis.gov.uk/components)
2. See the alignment of the content and the page header being inline

## 📸 Screenshots or code

![Screenshot 2023-12-05 at 14 20 54](https://github.com/mi6/ic-design-system/assets/111882114/bfe9df2d-5993-445f-b451-a8e06e82cc24)
![Screenshot 2023-12-05 at 14 21 06](https://github.com/mi6/ic-design-system/assets/111882114/f98e0bb1-c5b1-4159-9fc1-fe049dbc4eeb)

## 🧐 Expected behaviour

The contents should be inline with the page header to follow design guidelines and therefore will be consistent on each page.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.