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(material/button): increase touch target for icon buttons #30380

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

essjay05
Copy link
Contributor

@essjay05 essjay05 commented Jan 24, 2025

Updates Angular Components Button styles for icon buttons to add pseudo class styles to increase the icon buttons' target size.

Before screenshot
Updated after screenshot with refactor:
After screenshot

Fixes b/378903269

@essjay05 essjay05 requested a review from a team as a code owner January 24, 2025 00:36
@essjay05 essjay05 requested review from crisbeto and wagnermaciel and removed request for a team January 24, 2025 00:36
Updates Angular Components Button styles for icon buttons to
add pseudo class styles to increase the icon buttons' target
size.

Fixes b/378903269
@essjay05 essjay05 force-pushed the increase-icon-button-touch-target branch from 098a039 to 4051dd0 Compare January 24, 2025 17:30
Updates previous fix to increasing Angular Components Icon Button by
removing the pseudo class styles and targeting the correct class
.mat-mdc-button-touch-target instead. Also, removes any redundant
styles simplifies the necessary styles to increase the touch target.
@essjay05 essjay05 requested a review from crisbeto January 24, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants