Skip to content

Commit

Permalink
[asset] give upto 1/3 of the screen for account name on balance page
Browse files Browse the repository at this point in the history
fixes #133
  • Loading branch information
ananthakumaran committed Jan 31, 2024
1 parent bb4e242 commit 0d4b88b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/lib/components/AssetsBalance.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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
>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/GoalSummaryCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 0d4b88b

Please sign in to comment.