aperezdc/ngx-fancyindex

Add class tags to header columns, similar to table columns

wilbert-vb opened this issue · 1 comments

I like to align the size and date columns to the right, while the link column aligns to the left.
This is easily to accomplish with .link{align-text:left}, .size{align-text:right} and .date{align-text:right} directives.
However, I can't accomplish that with the individual header columns?

       <tr>
          <td class="link"><a href="../">Parent directory/</a></td>
          <td class="size">-</td>
          <td class="date">-</td>
        </tr>
      <th style="width: 55%">
          <a href="?C=N&amp;O=A">File Name</a>&nbsp;<a href="?C=N&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>
        <th style="width: 20%">
          <a href="?C=S&amp;O=A">File Size</a>&nbsp;<a href="?C=S&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>
        <th style="width: 25%">
          <a href="?C=M&amp;O=A">Date</a>&nbsp;<a href="?C=M&amp;O=D"
            >&nbsp;&darr;&nbsp;</a
          >
        </th>

See #142 where I've discussed this issue.