8000 bug #50325 [WebProfilerBundle] Tweak the HTML code of the Twig entry … · symfony/symfony@5c40d30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c40d30

bug #50325 [WebProfilerBundle] Tweak the HTML code of the Twig entry view (javiereguiluz)
This PR was merged into the 6.3 branch. Discussion ---------- [WebProfilerBundle] Tweak the HTML code of the Twig entry view | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Stretched links are used to make entire sections, like a card, clickable. See https://getbootstrap.com/docs/5.3/helpers/stretched-link/ Maybe `@PhilETaylor` can answer us about this (he made the original PR to add this in #49887) but I think it wasn't intended to make entire Twig panel clickable to open the template. So, in this PR I propose to remove this behavior. Here you can see how in the Security panel, the link is not stretched but in the Twig panel it is: ![profiler-panel](https://github.com/symfony/symfony/assets/73419/155170f3-115d-4043-98cd-8844c1a3a4bf) Commits ------- c9ed471 [WebProfilerBundle] Tweak the HTML code of the Twig entry view
2 parents 8d24399 + c9ed471 commit 5c40d30

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/twig.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<b>Entry View</b>
5454
<span>
5555
{% if link %}
56-
<a href="{{ link }}" title="{{ file }}" class="stretched-link">
56+
<a href="{{ link }}" title="{{ file }}">
5757
{{ template }}
5858
</a>
5959
{% else %}

0 commit comments

Comments
 (0)
0