Skip to content

Commit

Permalink
Remove external classes from the the button content <span> in `Prim…
Browse files Browse the repository at this point in the history
…er::beta::Button` (#1428)
  • Loading branch information
Adrián Bolonio authored Sep 30, 2022
1 parent 418d3e3 commit b7b0c8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilly-wasps-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Remove external classes from the the button content `<span>` in `Primer::beta::Button`
1 change: 0 additions & 1 deletion app/components/primer/beta/button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def initialize(

@align_content_classes = class_names(
"Button-content",
system_arguments[:classes],
ALIGN_CONTENT_MAPPINGS[fetch_or_fallback(ALIGN_CONTENT_OPTIONS, align_content, DEFAULT_ALIGN_CONTENT)]
)

Expand Down

0 comments on commit b7b0c8b

Please sign in to comment.