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

Feat: Converting HTML buttons into Shadcn Buttons #536

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

DhairyaMajmudar
Copy link
Contributor

Files Changed

  1. website/src/common/Dropdown.tsx
  2. website/src/pages/MacroQueriesComparePage/components/QueryPlan.tsx

Closes #534

Task done

Converted the HTML button into ShadCn Button components.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes introduced here are causing issues when running in dark mode, the text is black on a black background. Let's keep it as it was with white text.
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue happens in white mode, where the text is white on a white background.
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have committed some changes pls. once have a look.

Copy link
Member

@frouioui frouioui Apr 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am still seeing the same issue on both Safari and Google Chrome.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing, I will look into this again for a better solution.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@frouioui I have committed the changes : )
pls. once check.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!

@frouioui frouioui merged commit e8a071e into vitessio:main Apr 30, 2024
5 of 6 checks passed
@DhairyaMajmudar DhairyaMajmudar deleted the shadcn/button branch May 1, 2024 05:00
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.

Feat: Converting HTML buttons into ShadCn Button components
2 participants