Skip to content

Commit 4705d03

Browse files
committed
minor #2190 [Site] Fix tooltips positioning on FileTree component (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Fix tooltips positioning on FileTree component | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT **Before:** https://github.com/user-attachments/assets/1047b942-fecd-4763-a48d-444edf5b8701 **After:** https://github.com/user-attachments/assets/2040a645-6a1b-47e6-9263-000724911c76 Commits ------- 8a28319 [Site] Fix tooltips positioning on FileTree component
2 parents 5351778 + 8a28319 commit 4705d03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ux.symfony.com/assets/styles/components/_FileTree.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
}
77

88
.FileTree li > span {
9-
display: flex;
9+
display: inline-flex;
1010
flex-direction: row;
1111
align-items: center;
1212
gap: .75rem;

ux.symfony.com/templates/main/_file_tree.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% macro summaryAttributes(description) %}
22
{% if description %}
3-
data-bs-toggle="tooltip" data-bs-html="true" data-bs-placement="auto" title="{{ description|e('html_attr') }}"
3+
data-bs-toggle="tooltip" data-bs-html="true" data-bs-placement="right" title="{{ description|e('html_attr') }}"
44
{% endif %}
55
{% endmacro %}
66

0 commit comments

Comments
 (0)