60 lines
1.8 KiB
PHP
Executable File
60 lines
1.8 KiB
PHP
Executable File
<style>
|
|
#full-width-modal-emp-list .emp-upload-list-scroll {
|
|
overflow-x: auto !important;
|
|
-webkit-overflow-scrolling: touch;
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Keep a single scroll surface (header + body together); override list-page rules that hide outer overflow */
|
|
#full-width-modal-emp-list .emp-upload-list-scroll.table-responsive,
|
|
#full-width-modal-emp-list .emp-upload-list-scroll.table-responsive.nh-dt-no-outer-scroll,
|
|
#full-width-modal-emp-list .emp-upload-list-scroll.table-responsive:has(.dataTables_wrapper) {
|
|
overflow-x: auto !important;
|
|
}
|
|
|
|
#full-width-modal-emp-list #tech-companies-1_wrapper {
|
|
overflow-x: visible !important;
|
|
}
|
|
|
|
#full-width-modal-emp-list #tech-companies-1 {
|
|
width: 100% !important;
|
|
}
|
|
|
|
#full-width-modal-emp-list #tech-companies-1 th,
|
|
#full-width-modal-emp-list #tech-companies-1 td {
|
|
white-space: nowrap;
|
|
padding: 8px;
|
|
}
|
|
|
|
#full-width-modal-emp-list table.dataTable tbody td {
|
|
padding: 4px 8px !important;
|
|
}
|
|
</style>
|
|
|
|
<div class="table-responsive emp-upload-list-scroll">
|
|
<table data-custom-table-css="table" id="tech-companies-1" class="table table-striped nowrap w-100">
|
|
<thead class="bg-light">
|
|
<tr>
|
|
<?php foreach ($thead as $header): ?>
|
|
<th><?php echo esc($header); ?></th>
|
|
<?php endforeach; ?>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="font-12">
|
|
<?php
|
|
helper('excel_util_helper');
|
|
foreach ($tbody as $body) {
|
|
if (check_row_is_empty_or_null($body)) {
|
|
break;
|
|
}
|
|
?>
|
|
<tr>
|
|
<?php foreach ($body as $data) { ?>
|
|
<td><?= esc($data) ?></td>
|
|
<?php } ?>
|
|
</tr>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|