Fabien Potencier 14 anni fa
parent
commit
91d7caca6b

+ 5 - 0
src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css

@@ -376,6 +376,11 @@ td.main, td.menu {
     color:#565656;
 }
 
+.search input[type="search"]
+{
+    -webkit-appearance: textfield;
+}
+
 .search button
 {
     -webkit-appearance: button-bevel;

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/header.html.twig

@@ -10,7 +10,7 @@
                     <img src="{{ asset('bundles/webprofiler/images/profiler/grey_magnifier.png') }}" alt="Search on Symfony website"/>
                 </label>
 
-                <input name="q" id="search_id" type="text" placeholder="Search on Symfony website"/>
+                <input name="q" id="search_id" type="search" placeholder="Search on Symfony website"/>
 
                 <button type="submit">
                     <span class="border_l">