1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

asset tile tweaks

This commit is contained in:
Matthias Kretschmann 2019-02-15 13:11:08 +01:00
parent e1228fa471
commit c7c0707321
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
.asset {
> a {
display: block;
height: 100%;
padding: $spacer;
border: 1px solid $brand-grey-lighter;
border-radius: $border-radius;

View File

@ -9,7 +9,7 @@ const AssetLink = ({ asset }: { asset: any }) => {
<article className={styles.asset}>
<Link to={`/asset/${asset.id}`}>
<h1>{metadata.base.name}</h1>
<p>{metadata.base.description.substring(0, 140)}</p>
<p>{metadata.base.description.substring(0, 90)}</p>
<footer className={styles.assetFooter}>
<div>{metadata.base.category}</div>

View File

@ -3,7 +3,7 @@
.results {
display: grid;
grid-template-columns: 1fr;
grid-gap: $spacer * 2;
grid-gap: $spacer;
max-width: 100%;
@media (min-width: $break-point--small) {