Skip to content

Fix: Accidentally deleted duplicate declarations max-width, when build by vite.#138

Open
DiscoverForever wants to merge 1 commit into
apvarun:masterfrom
DiscoverForever:fix/vite-build-duplicate-max-width-conflict
Open

Fix: Accidentally deleted duplicate declarations max-width, when build by vite.#138
DiscoverForever wants to merge 1 commit into
apvarun:masterfrom
DiscoverForever:fix/vite-build-duplicate-max-width-conflict

Conversation

@DiscoverForever

@DiscoverForever DiscoverForever commented Oct 30, 2024

Copy link
Copy Markdown

Vite removes duplicate max-width declarations in CSS during the build process, keeping only the last one, which causes max-width to fail in Chrome.
Env:
vite version 4.0.0
chrome version 130.0.6723.71
toastify-js version 1.12.0

…d by vite.

Vite removes duplicate max-width declarations in CSS during the build process, keeping only the last one, which causes max-width to fail in Chrome.
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