From 80e9b9ee5074c882a7501cca9cb727ae63f1971d Mon Sep 17 00:00:00 2001 From: TheNeedful-DO Date: Sun, 12 Nov 2023 06:21:52 +0000 Subject: [PATCH] Improve token index style --- app/assets/stylesheets/tokens.sass | 5 ++++- app/views/tokens/index.html.haml | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/tokens.sass b/app/assets/stylesheets/tokens.sass index 44170a66..5030503c 100644 --- a/app/assets/stylesheets/tokens.sass +++ b/app/assets/stylesheets/tokens.sass @@ -3,7 +3,10 @@ table.token-index font-family: "monospace" - font-size: 1rem + font-size: 1.2rem + text-shadow: none + color: #aaaaaa + background: #39272740 .token-logo max-width: 4rem vertical-align: middle diff --git a/app/views/tokens/index.html.haml b/app/views/tokens/index.html.haml index 9afa16aa..0751a443 100644 --- a/app/views/tokens/index.html.haml +++ b/app/views/tokens/index.html.haml @@ -10,10 +10,10 @@ %thead %tr %th Logo - %th Canister - %th Standard %th Symbol %th Name + %th Canister + %th Standard %th Total supply %th Decimals %th Transfer fee @@ -28,10 +28,10 @@ %td = link_to token do %img.token-logo{src: token.logo_url} - %td= link_to token.canister_id, token - %td= token.standard %td= token.symbol %td= token.name + %td= link_to token.canister_id, token + %td= token.standard %td= token.total_supply %td= token.decimals %td= token.transfer_fee_to_f