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

feat: mobile navigation sidebar menu #142

Merged
merged 2 commits into from
Jan 28, 2025
Merged

feat: mobile navigation sidebar menu #142

merged 2 commits into from
Jan 28, 2025

Conversation

greatislander
Copy link
Member

No description provided.

@greatislander greatislander added the enhancement New feature or request label Jan 24, 2025
@greatislander greatislander added this to the v1.1.0 milestone Jan 24, 2025
@greatislander greatislander requested a review from chosww January 24, 2025 19:51
@greatislander greatislander self-assigned this Jan 24, 2025
@greatislander greatislander linked an issue Jan 24, 2025 that may be closed by this pull request
@greatislander greatislander enabled auto-merge (squash) January 24, 2025 19:51
Copy link

cloudflare-workers-and-pages bot commented Jan 24, 2025

Deploying inclusive-standards with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9f1b32c
Status: ✅  Deploy successful!
Preview URL: https://cd3dc87a.inclusive-standards.pages.dev
Branch Preview URL: https://feat-project-menu.inclusive-standards.pages.dev

View logs

}

.project nav inclusive-disclosure {
padding-inline: 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

Screenshot 2025-01-24 at 4 39 42 PM

We should remove top margin for this one;

margin-block-start: unset;

Copy link
Member Author

Choose a reason for hiding this comment

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

I tried it and I don't agree; the focus state looks really weird with the double border at the top:

Focus state without top margin

Copy link
Member

Choose a reason for hiding this comment

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

@greatislander and @chosww, I think I can see both points here. There ends up being a lot of horizontal bars across the page, especially towards the top, such as the included screenshot. Is it possible to remove some of these horizontal bars/borders or change how the "sections" are visually indicated. I don't think it's always clear right now where things break up and in the case of the project menu is making things look less aligned than they do without the contrast theme.

Screenshot showing several horizontal bars.

Would something looking like the following be okay?

Screenshot with bars removed Screenshot with focus styling

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually think that's probably a bigger conversation and I would prefer to open a separate issue to explore the approach we are taking to delineating sections when contrast themes are applied. Is that okay? @jobara if you want to file an issue that's good with me.

Copy link
Member

Choose a reason for hiding this comment

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

Filed as #148

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks. Let me know if this is good to merge now.

@greatislander greatislander merged commit 7c79024 into dev Jan 28, 2025
3 checks passed
@greatislander greatislander deleted the feat/project-menu branch January 28, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile project menu
3 participants