Skip to content

Remove duplicate Mapbox CSS from HTML#27

Closed
Copilot wants to merge 2 commits into
teditorfrom
copilot/sub-pr-18-806ff2cf-963e-41f7-aec3-b5361b3c1a36
Closed

Remove duplicate Mapbox CSS from HTML#27
Copilot wants to merge 2 commits into
teditorfrom
copilot/sub-pr-18-806ff2cf-963e-41f7-aec3-b5361b3c1a36

Conversation

Copilot AI commented Feb 7, 2026

Copy link
Copy Markdown

The app was loading Mapbox CSS twice: once via CDN link in index.html (v3.18.1) and once bundled via npm import in main.jsx (v3.3.0), causing style duplication and version mismatch.

Changes:

  • Removed CDN <link> tag from frontend/index.html
  • App now uses only the bundled CSS from mapbox-gl/dist/mapbox-gl.css imported in main.jsx
<!-- Before -->
<link href="https://api.mapbox.com/mapbox-gl-js/v3.18.1/mapbox-gl.css" rel="stylesheet" />

<!-- After -->
<!-- Removed - using bundled CSS via import statement -->

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: thejonathangu <149909500+thejonathangu@users.noreply.github.com>
Copilot AI changed the title [WIP] WIP address comments from review on Teditor pull request Remove duplicate Mapbox CSS from HTML Feb 7, 2026
Copilot AI requested a review from thejonathangu February 7, 2026 06:08
Copilot stopped work on behalf of thejonathangu due to an error February 7, 2026 06:08
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.

2 participants