8000 Reset image styling for the web-profiler toolbar · symfony/symfony@326991b · GitHub
[go: up one dir, main page]

Skip to content

Commit 326991b

Browse files
committed
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.
1 parent f8e68e5 commit 326991b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_style.html.twig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
bottom: 0;
1818
border-top: 1px solid #bbb;
1919
}
20+
.sf-toolbarreset img {
21+
width: auto;
22+
display: inline;
23+
}
2024
2125
.sf-toolbarreset .hide-button {
2226
display: block;

0 commit comments

Comments
 (0)
0