forked from Wavyzz/dolibarr
Takepos: Well align the search field width, keep old CSS rule as fallback for old browsers
This commit is contained in:
@@ -719,7 +719,7 @@ $menus[$r++]=array('title'=>'<span class="fa fa-sign-out-alt paddingrightonly"><
|
|||||||
|
|
||||||
print '<!-- Show the search input text -->'."\n";
|
print '<!-- Show the search input text -->'."\n";
|
||||||
print '<div class="margintoponly">';
|
print '<div class="margintoponly">';
|
||||||
print '<input type="text" id="search" name="search" onkeyup="Search2();" style="width:80%;font-size: 150%;" placeholder="'.$langs->trans("Search").'" autofocus> ';
|
print '<input type="text" id="search" name="search" onkeyup="Search2();" style="width:80%;width:calc(100% - 41px);font-size: 150%;" placeholder="'.$langs->trans("Search").'" autofocus> ';
|
||||||
print '<a class="marginleftonly hideonsmartphone" onclick="ClearSearch();">'.img_picto('', 'searchclear').'</a>';
|
print '<a class="marginleftonly hideonsmartphone" onclick="ClearSearch();">'.img_picto('', 'searchclear').'</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user