Improve token index style
This commit is contained in:
parent
1b49e53c4f
commit
3d841dc768
@ -1,12 +1,14 @@
|
|||||||
.token-logo
|
.token-logo
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
|
|
||||||
|
.table-container
|
||||||
|
background: #39272799
|
||||||
|
width: 100%
|
||||||
table.token-index
|
table.token-index
|
||||||
font-family: "monospace"
|
font-family: "monospace"
|
||||||
font-size: 1.2rem
|
font-size: 1.2rem
|
||||||
text-shadow: none
|
text-shadow: none
|
||||||
color: #aaaaaa
|
color: #aaaaaa
|
||||||
background: #39272740
|
|
||||||
.token-logo
|
.token-logo
|
||||||
max-width: 4rem
|
max-width: 4rem
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
|
|||||||
@ -5,7 +5,8 @@
|
|||||||
- if policy(Token).new?
|
- if policy(Token).new?
|
||||||
= link_to 'Add Token', new_token_path
|
= link_to 'Add Token', new_token_path
|
||||||
|
|
||||||
.table-container
|
.table-container
|
||||||
|
.contain
|
||||||
%table.token-index
|
%table.token-index
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
@ -28,9 +29,9 @@
|
|||||||
%td
|
%td
|
||||||
= link_to token do
|
= link_to token do
|
||||||
%img.token-logo{src: token.logo_url}
|
%img.token-logo{src: token.logo_url}
|
||||||
%td= token.symbol
|
%td= link_to token.symbol, token
|
||||||
%td= token.name
|
%td= token.name
|
||||||
%td= link_to token.canister_id, token
|
%td= token.canister_id
|
||||||
%td= token.standard
|
%td= token.standard
|
||||||
%td= token.total_supply
|
%td= token.total_supply
|
||||||
%td= token.decimals
|
%td= token.decimals
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user