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

Increase IconButton CSS specificity #2264

Merged
merged 3 commits into from
Sep 29, 2023
Merged

Increase IconButton CSS specificity #2264

merged 3 commits into from
Sep 29, 2023

Conversation

tareqlol
Copy link
Contributor

Addresses #ticket-number.

Purpose

IconButton sizes CSS rules are overwritten by the Button size rules, causing the Icon button to have Button padding instead of the IconButton padding.

Approach and changes

Increases the IconButton size rules by a weight of 1.

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@tareqlol tareqlol requested a review from a team as a code owner September 29, 2023 09:02
@tareqlol tareqlol requested review from pdrmdrs and removed request for a team September 29, 2023 09:02
@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2023

🦋 Changeset detected

Latest commit: fbce4e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sumup/circuit-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 29, 2023

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

Name Status Preview Comments Updated (UTC)
oss-circuit-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2023 9:48am

@tareqlol tareqlol changed the title Increasing IconButton css specificity Increase IconButton css specificity Sep 29, 2023
@tareqlol tareqlol changed the title Increase IconButton css specificity Increase IconButton CSS specificity Sep 29, 2023
@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #2264 (fbce4e4) into main (25808b5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2264   +/-   ##
=======================================
  Coverage   97.01%   97.01%           
=======================================
  Files         251      251           
  Lines       19841    19841           
  Branches     1211     1211           
=======================================
  Hits        19249    19249           
  Misses        572      572           
  Partials       20       20           

@tareqlol tareqlol merged commit 6ad6fd6 into main Sep 29, 2023
14 checks passed
@tareqlol tareqlol deleted the fix/icon-button-paddings branch September 29, 2023 10:39
@connor-baer connor-baer mentioned this pull request Sep 29, 2023
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.

1 participant