mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
refac
This commit is contained in:
parent
ad58e6b297
commit
45da209f85
1 changed files with 6 additions and 2 deletions
|
|
@ -136,7 +136,7 @@
|
|||
{#each token.header as header, headerIdx}
|
||||
<th
|
||||
scope="col"
|
||||
class="px-2.5! py-1.5! cursor-pointer border-b border-gray-100! dark:border-gray-800!"
|
||||
class="px-2.5! py-2! cursor-pointer border-b border-gray-100! dark:border-gray-800!"
|
||||
style={token.align[headerIdx] ? '' : `text-align: ${token.align[headerIdx]}`}
|
||||
>
|
||||
<div class="gap-1.5 text-left">
|
||||
|
|
@ -158,7 +158,11 @@
|
|||
<tr class="bg-white dark:bg-gray-900 text-xs">
|
||||
{#each row ?? [] as cell, cellIdx}
|
||||
<td
|
||||
class="px-3! py-2! text-gray-900 dark:text-white w-max border-b border-gray-50! dark:border-gray-850!"
|
||||
class="px-3! py-2! text-gray-900 dark:text-white w-max {token.rows.length -
|
||||
1 ===
|
||||
rowIdx
|
||||
? ''
|
||||
: 'border-b border-gray-50! dark:border-gray-850!'}"
|
||||
style={token.align[cellIdx] ? `text-align: ${token.align[cellIdx]}` : ''}
|
||||
>
|
||||
<div class="break-normal">
|
||||
|
|
|
|||
Loading…
Reference in a new issue