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

Button fixes #40

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Button fixes #40

merged 2 commits into from
Nov 1, 2024

Conversation

cottiera
Copy link
Collaborator

@cottiera cottiera commented Nov 1, 2024

✨ key fixes

  • square and round buttons no longer one-size fits all. pass the shape prop with either "round" or "square" for those button shapes and they will adhere to the size prop that you provide.

  • added a severity = "dangerPrimary" option for the off change we need a filled button that is also red.

  • fixed the weird off-centre issue

  • fixed all existing buttons

  • updated ButtonTestRoute.tsx file for documentation

Copy link

github-actions bot commented Nov 1, 2024

Visit the preview URL for this PR (updated for commit 75c8f87):

https://alzheimercalgary-v2--pr40-button-fixes-6fb8pfr2.web.app

(expires Fri, 08 Nov 2024 04:00:24 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 49842b2747b50197f445c596a105e7df038b0757

Copy link
Collaborator

@TienDucHo TienDucHo left a comment

Choose a reason for hiding this comment

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

LGTM

@TienDucHo TienDucHo merged commit 3204ea7 into main Nov 1, 2024
2 checks passed
@TienDucHo TienDucHo deleted the button-fixes branch November 1, 2024 20:28
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