Merge pull request #448 from nskins/th-width

Migrate width attribute to CSS (Fixes #436)
This commit is contained in:
Danny Coates 2017-08-07 10:59:52 -07:00 committed by GitHub
commit 4ac7ac2b24
2 changed files with 20 additions and 4 deletions

View File

@ -266,6 +266,22 @@ tbody {
table-layout: fixed; table-layout: fixed;
} }
#uploaded-file {
width: 35%;
}
#copy-file-list {
width: 25%;
}
#expiry-file-list {
width: 21%;
}
#delete-file-list {
width: 12%;
}
.icon-delete, .icon-delete,
.icon-copy, .icon-copy,
.icon-check { .icon-check {

View File

@ -21,10 +21,10 @@
<thead> <thead>
<tr> <tr>
<!-- htmllint attr-bans="false" --> <!-- htmllint attr-bans="false" -->
<th width="35%" data-l10n-id="uploadedFile"></th> <th id="uploaded-file" data-l10n-id="uploadedFile"></th>
<th width="25%" data-l10n-id="copyFileList"></th> <th id="copy-file-list" data-l10n-id="copyFileList"></th>
<th width="21%" data-l10n-id="expiryFileList"></th> <th id="expiry-file-list" data-l10n-id="expiryFileList"></th>
<th width="12%" data-l10n-id="deleteFileList"></th> <th id="delete-file-list" data-l10n-id="deleteFileList"></th>
<!-- htmllint tag-bans="$previous" --> <!-- htmllint tag-bans="$previous" -->
</tr> </tr>
</thead> </thead>