queering-the-map icon indicating copy to clipboard operation
queering-the-map copied to clipboard

Popup styling uniformisation

Open Elie-Simard opened this issue 2 years ago • 2 comments

Uniformize Toast Styling Across Popups

Related Issues

add styling to Successful submission notification to make it consistent with Donate Popup styling #78

Proposed Changes:

This pull request moves the toast notification styling into a dedicated toast.css file. The styles are now shared between the DonatePopup.svelte and AddOverlay.svelte components, ensuring consistent styling for toast notifications across the application.

*** I could also simply copy the styling from DonatePopup.svelte and paste into AddOverlay.svelte if preferred approach**

The changes include:

Creation of toast.css to hold the toast notification styles. Removal of inline toast styles from DonatePopup.svelte. Importing toast.css into both DonatePopup.svelte and AddOverlay.svelte.

Additional Context

These changes aim to improve the maintainability and consistency of the codebase by centralizing the toast styles. This update should make it easier for future contributors to apply and manage styling for toast notifications.

Screenshot 2024-08-21 at 3 52 37 PM

Elie-Simard avatar Aug 21 '24 21:08 Elie-Simard

Deploy request for qtmmirror pending review.

Visit the deploys page to approve it

Name Link
Latest commit 53952bd2051904a9de41c427cbc90639a44edcad

netlify avatar Aug 21 '24 21:08 netlify

Any thoughts on the use of @zerodevx/svelte-toast? Maybe I'm being picky 😅

jokroese avatar Sep 03 '24 10:09 jokroese