Skip to content

Commit 0a6f127

Browse files
committed
minor symfony#20715 [WebProfilerBundle] Fix AJAX panel width for long URLs (yceruto)
This PR was merged into the 3.1 branch. Discussion ---------- [WebProfilerBundle] Fix AJAX panel width for long URLs | Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - When the AJAX url path is very long, the **profile ``<td>``** token value is not fully displayed. ### Before ![before](https://cloud.githubusercontent.com/assets/2028198/20801819/16949c88-b7b8-11e6-9186-c350cb0f6868.png) ### After ![after](https://cloud.githubusercontent.com/assets/2028198/20804230/1519a7ec-b7c0-11e6-8ebe-f2ebfa5ab08e.png) ### Other Possible Solutions 1. Fix ``max-width`` from ``.sf-toolbar-block:hover .sf-toolbar-info`` class to ``512px``. (same result but the AJAX panel is a bit longer) 2. Fix ``max-width`` from ``.sf-toolbar-block:hover .sf-toolbar-info`` class to ``none`` or remove it. It would avoid future issues (mainly with third bundles) with children width greater than ``480px``. (Promising) ? //cc @javiereguiluz Commits ------- b0a8f8e Fixed max width from ajax request url element (td)
2 parents 3ff118a + b0a8f8e commit 0a6f127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
padding: 4px;
326326
}
327327
.sf-ajax-request-url {
328-
max-width: 300px;
328+
max-width: 250px;
329329
line-height: 9px;
330330
overflow: hidden;
331331
text-overflow: ellipsis;

0 commit comments

Comments
 (0)