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

[bug]: Hardcoded size value of action Buttons in the Alert component #3205

Closed
3 tasks
PKulkoRaccoonGang opened this issue Sep 2, 2024 · 1 comment
Closed
3 tasks
Labels
bug Report of or fix for something that isn't working as intended

Comments

@PKulkoRaccoonGang
Copy link
Contributor

Bugs

In the Alert component, the user does not have the ability to pass the size for the action buttons (the value is not passed in props, but is statically hardcoded in the internal implementation of the component).

image

Example

Improvements

Since Paragon provides the ability to resize buttons, it would be great to provide this for the Alert component as well.

Tasks

@PKulkoRaccoonGang PKulkoRaccoonGang added docs bug Report of or fix for something that isn't working as intended and removed docs labels Sep 2, 2024
@PKulkoRaccoonGang PKulkoRaccoonGang changed the title [paragon-openedx.netlify.app] Feedback (on /components/alert/) [bug]: Hardcoded size value of action Buttons in the Alert component Sep 2, 2024
@brian-smith-tcril
Copy link
Contributor

Possibly a design decision - current size works for buttons at small (320px) viewport widths

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report of or fix for something that isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants