Improve token index style

This commit is contained in:
Jesse C. Fisher 2023-11-12 07:37:09 +00:00
parent 1b49e53c4f
commit 3d841dc768
2 changed files with 7 additions and 4 deletions

View File

@ -1,12 +1,14 @@
.token-logo
max-width: 100%
.table-container
background: #39272799
width: 100%
table.token-index
font-family: "monospace"
font-size: 1.2rem
text-shadow: none
color: #aaaaaa
background: #39272740
.token-logo
max-width: 4rem
vertical-align: middle

View File

@ -5,7 +5,8 @@
- if policy(Token).new?
= link_to 'Add Token', new_token_path
.table-container
.table-container
.contain
%table.token-index
%thead
%tr
@ -28,9 +29,9 @@
%td
= link_to token do
%img.token-logo{src: token.logo_url}
%td= token.symbol
%td= link_to token.symbol, token
%td= token.name
%td= link_to token.canister_id, token
%td= token.canister_id
%td= token.standard
%td= token.total_supply
%td= token.decimals