Commit b5715fb4 authored by cfoe's avatar cfoe
Browse files

removed hardcoded width for list search_limit select-element -> css defined

parent 3f47b106
......@@ -272,7 +272,7 @@ class listform_actions {
foreach($limits as $key => $val){
$options .= '<option value="'.$key.'" '.(isset($_SESSION['search']['limit']) && $_SESSION['search']['limit'] == $key ? 'selected="selected"':'' ).(!isset($_SESSION['search']['limit']) && $key == '15' ? 'selected="selected"':'').'>'.$val.'</option>';
}
$app->tpl->setVar('search_limit','<select name="search_limit" style="width:50px">'.$options.'</select>');
$app->tpl->setVar('search_limit','<select name="search_limit" class="search_limit">'.$options.'</select>');
$app->tpl->setVar('toolsarea_head_txt',$app->lng('toolsarea_head_txt'));
$app->tpl->setVar($app->listform->wordbook);
......
......@@ -1056,4 +1056,7 @@
float:left;
margin: 0 0 0 2px;
}
select.search_limit {
width: 50px;
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment