Minor UI issue in homepage, while toggling night mode.
See original GitHub issueAffected Page
https://www.freecodecamp.org/learn and all the pages in which we are flashing We have updated your preferences
this message on changing of Night Mode
To Reproduce Steps to reproduce the behavior:
- Go to ‘https://www.freecodecamp.org/learn’ and sign in/ sign up
- Click on ‘Menu’ button on navigation bar and select night mode
ON/OFF
- After selecting the night mode, you will see a message flashes with text
We have updated your preferences
Expected behavior The text in the message and button should be in the center. But it is not centered.
Screenshots
Desktop (please complete the following information):
- OS: MacOs
- Browser: Chrome
- Version: 97.0.4692.71 (Official Build) (arm64)
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Night Mode not working - OnePlus Community
After upgrading to the new 3.5.6 Oxygen OS update, I've been facing issues with the new night mode. Toggling between one and off...
Read more >The Dos and Don'ts of Dark Theme in UI and Web Design
Finally, a dark theme can be a poor choice for apps and websites with lots of icons, buttons, and small images. That's because...
Read more >Android Auto is currently having trouble telling day from night
If you're driving at night, your vehicle automatically shifts into dimmed mode, lowering UI elements in the cabin and turning on headlights.
Read more >How to forcibly enable Dark Mode on every website ... - ZDNet
This "dark mode" refers to a website's content, and should not be confused with the operating system's dark mode, or the browser's UI...
Read more >Creating a Dark & Light Toggle Mode on your UI Designs
https://skl.sh/designcourse22 - First 500 people to sign up will get their first 2 months free!-- Giving your users the option to toggle ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks, will do. It’s also this way with the flash-message that popups when a user signs in for the first time. I’ll play around with it. It’s okay if you decide to kept it as-is. If you could, please keep this open until next Monday!
Although we need to keep the close button in the same spot for consistency, I could see how this would be confusing for larger screens. We could create a visual guide by reducing the width of the notification component to a container with a max-width and have it cover the default layout.
Since we are in the process of creating a component library and the alert component is already in, I would prefer making iterations on the alert component once the UI library is in use.
Thank you for creating this issue. I am closing this issue for now as we will be addressing it among others in the upcoming iterations of the UI component library.