Skip to content

Commit

Permalink
Update NavList tooltip direction (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesnowrose committed Apr 5, 2024
1 parent 6d14947 commit 4b1d3a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tiny-experts-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": minor
---

Update tooltip direction for the NavList to northeast
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 @@ -303,7 +303,7 @@ def before_render
)

if @truncate_label == :show_tooltip && !tooltip?
with_tooltip(text: @label, direction: :e)
with_tooltip(text: @label, direction: :ne)
end

return unless leading_visual
Expand Down

0 comments on commit 4b1d3a1

Please sign in to comment.