• Sebastian Pipping's avatar
    browse: Improve table layout in Firefox (fixes #2179) (#2221) · bb5b01c9
    Sebastian Pipping authored
    Current Caddy code used a combination of CSS styles that
    some mainstream browsers (e.g. Firefox) do not support well:
    "td:first-child { width: 100%; }" together with
    "td:last-child { padding-right: 5%; }".
    
    The old approach was three columns with:
    - "Name": 100% width, 5% padding left
    - "Size": minimal width
    - "Modified": minimal width, 5% padding right
    
    Now the new approach is five columns with:
    - <Dummy>: 5% width
    - "Name": 80% width
    - "Size": minimal width
    - "Modified": minimal width
    - <Dummy>: 5% width
    bb5b01c9
setup.go 18.5 KB