templates/layout/includes/search-popup.html.twig line 1

Open in your IDE?
  1. <style>
  2.     .search-suggestions-mobile {
  3.         min-width: 100%; /* ancho mínimo de 600px */
  4.         max-width: 100%;/* ajustar el ancho máximo permitido según sea necesario */
  5.     }
  6.     .search-suggestions-mobile li a {
  7.         width: 100%;
  8.     }
  9.     #search-box-mobile::placeholder {
  10.         color: #FF0000;
  11.     }
  12. </style>
  13. <div id="search-popup" class="search-drawer d-md-none">
  14.     <div class="container">
  15.         <span class="closeSearch an an-times-l"></span>
  16.         <form class="form minisearch" id="header-search" action="#" method="get">
  17.             <label class="label"><span>{{ "Search" | trans }}</span></label>
  18.             <div class="control">
  19.                 <div class="searchField">
  20.                     <div class="input-box" style="min-width: 300px">
  21.                         <button type="submit" title="Search" class="action search"><i class="icon an an-search-l"></i></button>
  22.                         <input id="search-box-mobile" data-idiom="{{ app.request.locale }}" type="text" name="q" value="" placeholder="" class="input-text">
  23.                     </div>
  24.                 </div>
  25.                 <ul id="search-suggestions-mobile" class="search-suggestions search-suggestions-mobile d-none">
  26.                 </ul>
  27.             </div>
  28.         </form>
  29.     </div>
  30. </div>