Skip to content

fix: popup tip position and change the text color#60

Merged
fityannugroho merged 1 commit intomainfrom
fix-popup-tip
May 20, 2025
Merged

fix: popup tip position and change the text color#60
fityannugroho merged 1 commit intomainfrom
fix-popup-tip

Conversation

@fityannugroho
Copy link
Owner

PR Checklist

Please check if your PR fulfills the following requirements:

  • I have read the documentation.
  • I have read and followed the Contributing Guidelines.
  • I have included a pull request description of my changes.
  • I have included the necessary changes to the documentation.
  • I have added tests to cover my changes.

PR Type

What kind of change does this PR introduce?

  • Bug fix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes

What is the current behavior?

The popup tip position is in center. See the picture below:

Screenshot 2025-05-20 150525

What is the new behavior?

This pull request includes updates to the PopupArea component in modules/MapDashboard/PopupArea.tsx to improve the styling consistency by replacing the text-gray-500 class with the text-muted-foreground class.

Styling updates:

  • Updated the "Loading..." message inside BasePopupArea to use the text-muted-foreground class for consistent styling and added a mx-auto class for centering.
  • Replaced the text-gray-500 class with text-muted-foreground for parent labels in the popup to align with the updated design language.

Screenshot 2025-05-20 150624

@fityannugroho fityannugroho added the bug Something isn't working label May 20, 2025
@vercel
Copy link

vercel bot commented May 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
idn-area-map ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 20, 2025 8:10am

@fityannugroho fityannugroho merged commit 0ad88ec into main May 20, 2025
8 checks passed
@fityannugroho fityannugroho deleted the fix-popup-tip branch May 20, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant