🧹 简化所有文件表格行样式
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
{{ title }}
|
||||
</h3>
|
||||
</div>
|
||||
<div class="overflow-x-auto px-3 pb-3">
|
||||
<table class="min-w-full border-separate border-spacing-y-3">
|
||||
<div class="overflow-x-auto">
|
||||
<table
|
||||
class="min-w-full divide-y"
|
||||
:class="[isDarkMode ? 'divide-[#31454d]' : 'divide-[#d7e3e5]']"
|
||||
>
|
||||
<thead>
|
||||
<tr>
|
||||
<th v-for="header in headers" :key="header"
|
||||
@@ -18,7 +21,10 @@
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tbody
|
||||
class="divide-y"
|
||||
:class="[isDarkMode ? 'divide-[#31454d]/70' : 'divide-[#d7e3e5]/80']"
|
||||
>
|
||||
<slot name="body"></slot>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user