[asset] give upto 1/3 of the screen for account name on balance page

fixes #133
This commit is contained in:
Anantha Kumaran 2024-01-31 08:19:32 +05:30
parent bb4e242502
commit 0d4b88b8a0
2 changed files with 4 additions and 2 deletions

View File

@ -45,7 +45,9 @@
{@const gain = b.gainAmount}
{@const changeClass = calculateChangeClass(gain)}
<tr>
<td class="whitespace-nowrap has-text-left" style="max-width: 200px; overflow: hidden;"
<td
class="whitespace-nowrap has-text-left"
style="max-width: max(15rem, 33.33vw); overflow: hidden;"
>{@html indentWidth}<span class="has-text-grey custom-icon">{iconText(b.group)}</span>
<a href="/assets/gain/{b.group}">{indent ? lastName(b.group) : b.group}</a></td
>

View File

@ -35,7 +35,7 @@
<div class="flex justify-between mb-4">
<div class="flex">
{#if action}
<span use:action class="icon is-size-4 mr-1 mt-1 has-text-grey">
<span use:action class="icon is-size-4 mr-1 mt-1 has-text-grey-light">
<i class="fas fa-grip-vertical" />
</span>
{/if}