Skip to content

Fix dark mode on Teacher Login and adjust login container dimensions#296

Open
Anuj-verse wants to merge 2 commits intoEswaramuthu:mainfrom
Anuj-verse:main
Open

Fix dark mode on Teacher Login and adjust login container dimensions#296
Anuj-verse wants to merge 2 commits intoEswaramuthu:mainfrom
Anuj-verse:main

Conversation

@Anuj-verse
Copy link
Copy Markdown

Description:
This PR addresses two main UI issues on the login pages:

Teacher Login Dark Mode Fix:

Removed the extra, conflicting inline script for the dark mode toggle in templates/teacher.html.
The teacher login page now correctly uses the global dark mode logic from script.js, matching the behavior of the student login page and preventing local state conflicts.
Login Container Sizing Fix:

Fixed the sizing of the login forms without breaking the layout of the home page and other pages.
Instead of altering the globally used .container class, added specific styling for the .login-container class in static/styles.css.
The login forms now have proper dimensions (max-width: 400px, width: 100%) ensuring a consistent and responsive appearance without affecting the widths of other components across the site.
Changes Made:

Modified templates/teacher.html to remove inline theming script.
Modified static/styles.css to add scoped .login-container dimensions.
before
image
after
image

@entelligence-ai-pr-reviews
Copy link
Copy Markdown

Automatic Review Skipped

Too many files for automatic review.

If you would still like a review, you can trigger one manually by commenting:

@entelligence review

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 25, 2026

@Anuj-verse is attempting to deploy a commit to the 007'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.

1 participant