fix: Issues #252 remove table-fixed done.

This commit is contained in:
chiayin
2024-03-12 17:33:40 +08:00
parent 8605f80c79
commit 2c5eb7bcea
2 changed files with 4 additions and 3 deletions

View File

@@ -284,8 +284,9 @@ export default {
minute: 'MM/dd hh:mm', // ex: 01/01 01:01 minute: 'MM/dd hh:mm', // ex: 01/01 01:01
hour: 'MM/dd hh:00', // ex: 01/01 01:00 hour: 'MM/dd hh:00', // ex: 01/01 01:00
day: 'yyyy/MM/dd', // ex: 1911/01/01 day: 'yyyy/MM/dd', // ex: 1911/01/01
month: 'yyyy/MM', // ex: 1911/01 month: 'yyyy/MM/dd', // ex: 1911/01
} },
round: true
}, },
ticks: { ticks: {
display: true, display: true,

View File

@@ -40,7 +40,7 @@
</div> </div>
<!-- Upload table --> <!-- Upload table -->
<div class="overflow-y-auto overflow-x-auto scrollbar max-h-[calc(100%_-_97px)]"> <div class="overflow-y-auto overflow-x-auto scrollbar max-h-[calc(100%_-_97px)]">
<table class="text-sm w-full table-fixed border-separate border-spacing-0"> <table class="text-sm w-full border-separate border-spacing-0">
<thead class="sticky top-0 bg-neutral-10"> <thead class="sticky top-0 bg-neutral-10">
<tr> <tr>
<td v-for="(item, index) in uploadDetail?.columns" :key="index" class="border border-neutral-500 p-2">{{ item }}</td> <td v-for="(item, index) in uploadDetail?.columns" :key="index" class="border border-neutral-500 p-2">{{ item }}</td>