ui: fix table for mobile

This commit is contained in:
Eirene 2024-01-31 17:16:25 +08:00
parent 8a7bf847f2
commit f459e873cd

View File

@ -57,7 +57,7 @@
#{index}
</td>
<td>Block 1</td>
<td class="hidden whitespace-nowrap px-6 py-4 text-sm text-gray-500 md:block">
<td>
<Badge text="Working" color="green" />
</td>
<td class="whitespace-nowrap px-6 py-4 text-right text-sm text-gray-500">
@ -69,7 +69,7 @@
#{index + 1}
</td>
<td>Block 2</td>
<td class="hidden whitespace-nowrap px-6 py-4 text-sm text-gray-500 md:block">
<td>
<Badge text="Not Working" color="red" />
</td>
<td class="whitespace-nowrap px-6 py-4 text-right text-sm text-gray-500">
@ -81,7 +81,7 @@
#{index + 2}
</td>
<td>Block 3</td>
<td class="hidden whitespace-nowrap px-6 py-4 text-sm text-gray-500 md:block">
<td>
<Badge text="Too much voltage" color="orange" />
</td>
<td class="whitespace-nowrap px-6 py-4 text-right text-sm text-gray-500">
@ -93,7 +93,7 @@
#{index + 3}
</td>
<td>Block 4</td>
<td class="hidden whitespace-nowrap px-6 py-4 text-sm text-gray-500 md:block">
<td>
<Badge text="No signal" color="gray" />
</td>
<td class="whitespace-nowrap px-6 py-4 text-right text-sm text-gray-500">