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

Added styling for flash messages #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JayGaba
Copy link
Contributor

@JayGaba JayGaba commented Oct 15, 2024

Closes #3

This pull request introduces a flash message component to improve user notifications. The changes include adding the necessary CSS styles, JavaScript functionality, and HTML structure to support the flash messages.

Flash Message Component:

  • assets/css/app.css: Added styles for the .flash-message component, including positioning, padding, border, and close button styles.
  • assets/js/flash-messages.js: Added JavaScript to handle the close button functionality for flash messages, allowing users to remove the message from the DOM.
  • templates/base.html: Included the new JavaScript file and updated the flash message HTML structure to use the new .flash-message component and close button. [1] [2]

@JayGaba
Copy link
Contributor Author

JayGaba commented Oct 22, 2024

@sethetter

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.

style flash messages
1 participant