Commit da26e42
committed
bug symfony#61422 [WebProfilerBundle] Hide WDT clearer when it is hidden (MatTheCat)
This PR was squashed before being merged into the 7.3 branch.
Discussion
----------
[WebProfilerBundle] Hide WDT clearer when it is hidden
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | Fix symfony#61416
| License | MIT
The `sf-toolbar-clearer` allows for the WDT not to hide content by reserving a space for it, so it should be hidden when the toolbar is closed.
Given a page with a black footer when you scroll to the bottom,
Before:
<img width="450" height="70" alt="Screenshot 2025-08-14 at 16-05-35 SensioLabs Jobs" src="https://github.com/user-attachments/assets/2c372015-543a-44bb-83d4-8abc8a97dd54" />
After:
<img width="450" height="70" alt="Screenshot 2025-08-14 at 16-06-04 SensioLabs Jobs" src="https://github.com/user-attachments/assets/8017ceb4-e112-48b9-a578-e7a7db616e44" />
The toggler’s `title` attribute has also been moved to its icons so that it depends on the WDT’s state.
Commits
-------
d7d737e [WebProfilerBundle] Hide WDT clearer when it is hiddenFile tree
2 files changed
+6
-3
lines changed- src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler
2 files changed
+6
-3
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
0 commit comments