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:
parent
e1228fa471
commit
c7c0707321
@ -3,6 +3,7 @@
|
||||
.asset {
|
||||
> a {
|
||||
display: block;
|
||||
height: 100%;
|
||||
padding: $spacer;
|
||||
border: 1px solid $brand-grey-lighter;
|
||||
border-radius: $border-radius;
|
||||
|
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user