Skip to content

Commit ecff692

Browse files
committed
minor symfony#28222 [WebProfilerBundle] Limit width of toolbar item (ostrolucky)
This PR was merged into the 4.2-dev branch. Discussion ---------- [WebProfilerBundle] Limit width of toolbar item | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#28105 | License | MIT | Doc PR | before ![screenshot from 2018-08-17 22-06-46](https://user-images.githubusercontent.com/496233/44287443-2d4dab80-a26d-11e8-9e28-e4f7764ed428.png) after: ![screenshot from 2018-08-17 22-07-04](https://user-images.githubusercontent.com/496233/44287452-33438c80-a26d-11e8-8efe-539f7a1dae8d.png) Tested on master and 2.8. IMO should be treated as bug fix, there are no conflicts. Commits ------- 097c3f8 [WebProfilerBundle] Limit width of toolbar item
2 parents 74461cc + 097c3f8 commit ecff692

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
height: 36px;
9898
margin-right: 0;
9999
white-space: nowrap;
100+
max-width: 15%;
100101
}
101102
.sf-toolbar-block > a,
102103
.sf-toolbar-block > a:hover {
@@ -282,6 +283,8 @@ div.sf-toolbar .sf-toolbar-block a:hover {
282283
display: block;
283284
height: 36px;
284285
padding: 0 7px;
286+
overflow: hidden;
287+
text-overflow: ellipsis;
285288
}
286289
.sf-toolbar-block-request .sf-toolbar-icon {
287290
padding-left: 0;

0 commit comments

Comments
 (0)