Skip to content

Commit

Permalink
Fix cropped folder/file names
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Feb 14, 2023
1 parent b7585bd commit e541f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions resources/css/cfiles.css
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@

#fileList .table-responsive {
overflow: initial;
border: none;
}

#bs-table.table .file-actions {
Expand All @@ -177,6 +178,7 @@
#bs-table.table>tbody>tr>td,
#bs-table.table>tfoot>tr>td {
padding: 10px 5px 5px 5px;
height: 37px;
}

#bs-table.table>thead>tr>th label,
Expand Down
3 changes: 1 addition & 2 deletions widgets/views/fileList.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,10 @@
</th>
<?php endif; ?>

<th class="text-left" data-ui-sort="<?= FileSystemItemRow::ORDER_TYPE_NAME ?>" <?= $sort === FileSystemItemRow::ORDER_TYPE_NAME ? 'data-ui-order="'.Html::encode($order).'"' : '' ?>>
<th class="text-left" style="width:100%" data-ui-sort="<?= FileSystemItemRow::ORDER_TYPE_NAME ?>" <?= $sort === FileSystemItemRow::ORDER_TYPE_NAME ? 'data-ui-order="'.Html::encode($order).'"' : '' ?>>
<?= Yii::t('CfilesModule.base', 'Name'); ?>
</th>


<th class="hidden-xs"></th>

<th class="hidden-xs text-right" data-ui-sort="<?= FileSystemItemRow::ORDER_TYPE_SIZE ?>" <?= $sort === FileSystemItemRow::ORDER_TYPE_SIZE ? 'data-ui-order="'.Html::encode($order).'"' : '' ?>><?= Yii::t('CfilesModule.base', 'Size'); ?></th>
Expand Down

0 comments on commit e541f5d

Please sign in to comment.