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

Action list description test selector #2984

Merged
merged 8 commits into from
Aug 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Give it the right classes
  • Loading branch information
sampart committed Jul 26, 2024
commit d3578f1a2bb04ce961a205b97d1fcd430913bee5
2 changes: 1 addition & 1 deletion app/components/primer/alpha/action_list/item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Item < Primer::Component
# Description content that complements the item's label. See `ActionList`'s `description_scheme` argument
# for layout options.
renders_one :description, -> (test_selector: nil) do
Primer::BaseComponent.new(tag: "span", test_selector: test_selector) { content }
Primer::BaseComponent.new(tag: "span", classes: "ActionListItem-description", test_selector: test_selector) { content }
end

# An icon, avatar, SVG, or custom content that will render to the left of the label.
Expand Down
Loading