Changeset 1897

Show
Ignore:
Timestamp:
08/13/2007 09:49:48 AM (1 year ago)
Author:
jan
Message:

replaced hard-coded fonts and font-size by relative sizes (fixes #1267)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/NEWS

    r1896 r1897  
    1212  * fixed the out-of-fd support  
    1313  * fixed crash in mod_expire if 'modification' is used and stat() failed (#1063) 
     14  * fixed hardcoded font-sizes in mod_dirlisting (#1267) 
    1415 
    1516- 1.4.14 - ??? 
  • trunk/src/mod_dirlisting.c

    r1653 r1897  
    463463                        "table {margin-left: 12px;}\n" 
    464464                        "th, td {" 
    465                         " font-family: \"Courier New\", Courier, monospace;" 
    466                         " font-size: 10pt;" 
     465                        " font: 90% monospace;" 
    467466                        " text-align: left;" 
    468467                        "}\n" 
     
    484483                        "}\n" 
    485484                        "div.foot {" 
    486                         " font-family: \"Courier New\", Courier, monospace;" 
    487                         " font-size: 10pt;" 
     485                        " font: 90% monospace;" 
    488486                        " color: #787878;" 
    489487                        " padding-top: 4px;"