Skip to content

Commit

Permalink
fix(app): styling
Browse files Browse the repository at this point in the history
  • Loading branch information
cor committed Jun 8, 2024
1 parent fccece6 commit c1448c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app/src/routes/explorer/blocks/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import CellDurationText from "../(components)/cell-duration-text.svelte"
import { cosmosBlocksQuery } from "$lib/graphql/documents/cosmos-blocks.ts"
import Table from "../(components)/table.svelte"
import { truncate } from "$lib/utilities/format";
$: cosmosBlocks = createQuery({
queryKey: ["cosmos-blocks"],
Expand Down Expand Up @@ -73,8 +74,8 @@ const columns = [
size: 200,
cell: info =>
flexRender(CellText, {
class: "p-0 m-0 font-mono",
value: info.getValue()
class: "p-0 m-0 font-mono text-muted-foreground",
value: truncate(info.getValue(), 12)
})
}
] as Array<ColumnDef<CosmosBlock>>
Expand Down
2 changes: 1 addition & 1 deletion app/src/routes/transfer/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ let buttonText = "Transfer" satisfies
</Card.Footer>
</Card.Root>
<div class="text-muted-foreground">
Will transfer <b>{amount} {truncate($asset, 6)}</b> from <b>{$fromChain?.display_name}</b> to <b>{truncate($recipient, 6)}</b> on <b>{$toChain?.display_name}</b>.
Will transfer <b>{amount} {truncate($asset, 6)}</b> from <b>{$fromChain?.display_name}</b> to <span class="font-bold font-mono">{truncate($recipient, 6)}</span> on <b>{$toChain?.display_name}</b>.
</div>
</main>

Expand Down

0 comments on commit c1448c4

Please sign in to comment.