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

fix: ui of button #5552

Merged
merged 4 commits into from Nov 23, 2022
Merged

fix: ui of button #5552

merged 4 commits into from Nov 23, 2022

Conversation

Udit-takkar
Copy link
Contributor

Fixes: #5548
Screenshot 2022-11-16 at 7 57 24 PM

@vercel
Copy link

vercel bot commented Nov 16, 2022

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

Name Status Preview Updated
cal ✅ Ready (Inspect) Visit Preview Nov 23, 2022 at 7:47PM (UTC)

</Button>
<div className="mt-4 flex w-full items-center gap-4 self-start text-sm font-medium">
{props.actionText && (
<button className="text-sm font-medium leading-4" onClick={() => props.onAction}>
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a reason why we changed Button for button?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

left one is what the ui we want. Button in /components has py and px and background change on hover which we don't want so it would require over ridding a lot of styles if we use Button or should i just add another variant prop and use Button ?

Copy link
Contributor

@alannnc alannnc left a comment

Choose a reason for hiding this comment

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

Try to fill the data from the PR placeholder, that way others can quickly jump and test what is being fix on the PR.

@alannnc alannnc enabled auto-merge (squash) November 23, 2022 19:40
@alannnc alannnc merged commit 33271a8 into main Nov 23, 2022
@alannnc alannnc deleted the fix/inline-banner branch November 23, 2022 19:53
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.

[CAL-379] Inline banner needs to be responsive
2 participants