Changeset 38359

Show
Ignore:
Timestamp:
08/26/10 03:45:18 (3 years ago)
Author:
NeoCat
Message:

make utils inline-block

Location:
websites/twicli
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/default.css

    r38357 r38359  
    3131.status a.resolved { background-color: #eef; } 
    3232.status a.link:hover { background-color: #ff9; } 
    33 .utils { white-space: nowrap; text-align: right } 
     33.utils { text-align: right; display: inline-block; } 
    3434.prop, .prop a { color: #999; font-size: x-small; } 
    3535.fromme { background-color: #cfd; } 
  • websites/twicli/twicli.js

    r38358 r38359  
    417417                h = $("fst").value.length ? Math.max($("fst").scrollHeight+2,min_fst_height) : min_fst_height; 
    418418        if (no_resize_fst && !force) return; 
    419         var exh = document.all ? 1 : 0, opt = $("option").clientHeight; 
     419        var exh = (navigator.userAgent.indexOf("MSIE 8") >= 0 ? 1 : 0), opt = $("option").clientHeight; 
    420420        $("fst").style.height = h; 
    421421        $("option").style.top = h + 2;