From 326991bd6e44fcf754050db0ab78b17ed0cb70f7 Mon Sep 17 00:00:00 2001 From: Rowan Manning Date: Fri, 8 Jun 2012 11:45:18 +0100 Subject: [PATCH] Reset image styling for the web-profiler toolbar I've had issues with the toolbar where the site styling pushes the toolbar info below the image. This is often because of global image styling such as applying `display: block` by default. This fixes the issue by reseting image styling to browser defaults, which is what the toolbar expects. --- .../Resources/views/Profiler/toolbar_style.html.twig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_style.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_style.html.twig index 8c0ed59c27..15b8ef3339 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_style.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_style.html.twig @@ -17,6 +17,10 @@ bottom: 0; border-top: 1px solid #bbb; } + .sf-toolbarreset img { + width: auto; + display: inline; + } .sf-toolbarreset .hide-button { display: block;