mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 14:38:50 +00:00
refactor(web): set fixed widths for columns
This commit is contained in:
1 parent
8743dd1523
commit
6ffef718f0
1 file changed
+5
-1
@@ -36,7 +36,11 @@
|
||||
<tr {...rowAttrs}>
|
||||
{#each headerRow.cells as cell (cell.id)}
|
||||
<Subscribe attrs={cell.attrs()} let:attrs props={cell.props()} let:props>
|
||||
<th {...attrs} on:click={props.sort.toggle} class="p-1 border-b-[1px] border-dark-400">
|
||||
<th
|
||||
{...attrs}
|
||||
on:click={props.sort.toggle}
|
||||
class={`p-1 border-b-[1px] border-dark-400 ${cell.id === 'executionTime' ? 'w-1/4' : 'w-3/4'}`}
|
||||
>
|
||||
<div class="flex justify-center items-center gap-2 select-none cursor-pointer">
|
||||
<Render of={cell.render()} />
|
||||
{#if props.sort.order === 'asc'}
|
||||
|
||||
Reference in new issue
Block a user