Adjust CSS to display clear button over the input.

This commit is contained in:
Michal Čihař
2010-04-02 13:20:44 +02:00
parent 4b79515d00
commit 111ba5d79f

View File

@@ -317,15 +317,15 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
if ($table_count) {
?>
<span id="NavFilter" style="display:none;">
<span
onclick="clear_fast_filter();"
style="background:white;color:black;cursor:pointer;padding:2px;margin:0 0 0 -20px;position:relative;float:right;"
title="<?php echo $strReset; ?>">X</span>
<input type="text" name="fast_filter" id="fast_filter"
title="<?php echo $strNavTableFilter; ?>"
onkeyup="setTimeout(function(word){ return function(){ fast_filter(word);}}(this.value),1000);"
style="width:90%;padding:0 -20px 0 0; padding:2px;"
onfocus="this.select();" />
<span
onclick="clear_fast_filter();"
style="background:white;color:black;cursor:pointer;padding:0;margin:0;position:relative;right:3ex;"
title="<?php echo $strReset; ?>">X</span>
</span>
<?php
}