Skip to content

feat: add theme toggle in mobile and tablet view#292

Open
thecuriousash wants to merge 1 commit into
mayo-byte07:mainfrom
thecuriousash:gssoc/feature/theme-toggle
Open

feat: add theme toggle in mobile and tablet view#292
thecuriousash wants to merge 1 commit into
mayo-byte07:mainfrom
thecuriousash:gssoc/feature/theme-toggle

Conversation

@thecuriousash

@thecuriousash thecuriousash commented Jun 20, 2026

Copy link
Copy Markdown

Description

Added a theme toggle in mobile and tablet view.
Fixes #216

⚠️ Note: The theme toggle will align perfectly when #283 is merged.

Changes Made

Global Stylesheet (public/css/home.css):

  • Kept .navbar-links container visible on screens $\le 768px$ but hid text links and dropdown elements inside it.
  • Hid the .navbar-actions container to prevent JavaScript inline style overrides.
  • Hid the logo subtext (.logo-subtext) on small screens ($\le 375px$) to free up horizontal space and prevent layout wrapping.

Home Page (public/home.html):

  • Added target class logo-subtext and prevented wrapping on the logo subtext using white-space: nowrap;.

Team Page (public/team.html):

  • Kept the container .team-nav-links visible and right-aligned, and hid only the text links, keeping the toggle button visible.

Screenshots (if applicable)

Screenshot 2026-06-17 at 9 46 45 PM Screenshot 2026-06-21 at 12 15 14 AM Screenshot 2026-06-21 at 12 16 32 AM

Checklist

  • I have linked the relevant issue above.
  • I have tested my changes locally.
  • My code follows the project's style guidelines.

@vercel

vercel Bot commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

@thecuriousash is attempting to deploy a commit to the Mayo's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[BUG] theme toggle missing from mobile and tablet view

1 participant