10000 minor #25433 [WebProfilerBundle] Fix Image/SVG display in WebProfiler… · symfony/symfony@500e881 · GitHub
[go: up one dir, main page]

Skip to content

Commit 500e881

Browse files
committed
minor #25433 [WebProfilerBundle] Fix Image/SVG display in WebProfiler toolbar. (bobdenotter)
This PR was merged into the 2.7 branch. Discussion ---------- [WebProfilerBundle] Fix Image/SVG display in WebProfiler toolbar. | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - This small fix prevents widths from "creeping in" from previously defined CSS rules into the WebProfiler toolbar. See before/after screenshot: ![screen_shot_2017-12-11_at_11_56_06](https://user-images.githubusercontent.com/1833361/33828617-1e59c2c2-de6d-11e7-8c5e-560eee847205.png) Note: This PR fixes an other issue than #18469, which landed in SF 2.8. Commits ------- 62f5eae Set `width: auto` on WebProfiler toolbar's reset.
2 parents 40ced3a + 62f5eae commit 500e881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
-moz-box-sizing: content-box;
2424
box-sizing: content-box;
2525
vertical-align: baseline;
26+
width: auto;
2627
}
2728

2829
.sf-toolbarreset {

0 commit comments

Comments
 (0)
0