From 8a283198e1f9d281dd5eb6beecffab9562aac35b Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Fri, 20 Sep 2024 09:52:13 +0200 Subject: [PATCH] [Site] Fix tooltips positioning on FileTree component --- ux.symfony.com/assets/styles/components/_FileTree.scss | 2 +- ux.symfony.com/templates/main/_file_tree.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ux.symfony.com/assets/styles/components/_FileTree.scss b/ux.symfony.com/assets/styles/components/_FileTree.scss index 8c57394f1a..0d2d24c431 100644 --- a/ux.symfony.com/assets/styles/components/_FileTree.scss +++ b/ux.symfony.com/assets/styles/components/_FileTree.scss @@ -6,7 +6,7 @@ } .FileTree li > span { - display: flex; + display: inline-flex; flex-direction: row; align-items: center; gap: .75rem; diff --git a/ux.symfony.com/templates/main/_file_tree.html.twig b/ux.symfony.com/templates/main/_file_tree.html.twig index 0e1ad131cc..b59fee12df 100644 --- a/ux.symfony.com/templates/main/_file_tree.html.twig +++ b/ux.symfony.com/templates/main/_file_tree.html.twig @@ -1,6 +1,6 @@ {% macro summaryAttributes(description) %} {% if description %} - data-bs-toggle="tooltip" data-bs-html="true" data-bs-placement="auto" title="{{ description|e('html_attr') }}" + data-bs-toggle="tooltip" data-bs-html="true" data-bs-placement="right" title="{{ description|e('html_attr') }}" {% endif %} {% endmacro %}