layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Handbook] CSS is messed up

Open winkletinkle opened this issue 7 months ago • 2 comments

Description

Too many media queries, too many opposing margins and paddings.

Expected Behavior

Style code needs removed and cleaned up.

Screenshots

Example, so much wasted whitespace before page heading:

Image

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

winkletinkle avatar May 20 '25 22:05 winkletinkle

Hi, Can i work on this issue?

Priyadharshini0101 avatar May 25 '25 06:05 Priyadharshini0101

@Priyadharshini0101 will you please confirm if you have the site running successfully and your approach of solving this issue?

vishalvivekm avatar Jun 02 '25 04:06 vishalvivekm

I’d like to work on this issue.

✅ I’ve read through the CONTRIBUTING.md. ✅ My development environment is set up, and I’m able to successfully build and run the project locally.

🛠️ Proposed Approach:

I’ll identify and refactor redundant or conflicting media queries, margins, and paddings across the stylesheets or components. The goal is to streamline the styling logic for better maintainability and eliminate unnecessary white space (like the gap above page headings shown in the screenshot). I’ll ensure the layout remains responsive and visually consistent across devices post-cleanup.

Please assign this issue to me so I can begin working on it. Thanks!

ayush14189 avatar Jun 20 '25 22:06 ayush14189

Thanks for assigning. I'll create the PR ASAP.

ayush14189 avatar Jun 23 '25 18:06 ayush14189

Hi @winkletinkle @vishalvivekm ,

Could I work on this.

HIMU-2001 avatar Jun 28 '25 01:06 HIMU-2001

@HIMU-2001 I'm working on this issue. I'll create PR by tomorrow.

ayush14189 avatar Jun 28 '25 12:06 ayush14189

Great @ayush14189 We'll be able to discuss in the sites call of Monday, I suppose. https://meet.layer5.io

vishalvivekm avatar Jun 29 '25 16:06 vishalvivekm