1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

cut asset teasers title length (#309)

* cut asset teasers title length, variable title font size on asset detail

* fixed linter errors

* changed title length to 2 lines in Asset teasers

* asset details long titles handle(wip)

* remove asset details title changes

* remove unused imports
This commit is contained in:
Norby 2021-01-21 11:38:55 +02:00 committed by GitHub
parent cfb957d3ef
commit 0cad79ae97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,9 @@ const AssetTeaser: React.FC<AssetTeaserProps> = ({ ddo }: AssetTeaserProps) => {
> >
{dataTokenInfo?.symbol} {dataTokenInfo?.symbol}
</Tooltip> </Tooltip>
<h1 className={styles.title}>{name}</h1> <Dotdotdot clamp={3}>
<h1 className={styles.title}>{name}</h1>
</Dotdotdot>
<Publisher account={owner} minimal className={styles.publisher} /> <Publisher account={owner} minimal className={styles.publisher} />
</header> </header>
{isCompute && <div className={styles.accessLabel}>Compute</div>} {isCompute && <div className={styles.accessLabel}>Compute</div>}