mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-30 22:01:44 +02:00
markdown display tweaks
This commit is contained in:
parent
2d02d80938
commit
060862602b
|
@ -47,3 +47,22 @@
|
||||||
margin-top: var(--spacer);
|
margin-top: var(--spacer);
|
||||||
margin-bottom: var(--spacer);
|
margin-bottom: var(--spacer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Markdown tweaks */
|
||||||
|
|
||||||
|
.description h1 {
|
||||||
|
font-size: var(--font-size-h3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h2 {
|
||||||
|
font-size: var(--font-size-h4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h3 {
|
||||||
|
font-size: var(--font-size-large);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h4,
|
||||||
|
.description h5 {
|
||||||
|
font-size: var(--font-size-base);
|
||||||
|
}
|
||||||
|
|
|
@ -65,7 +65,10 @@ export default function AssetContent({
|
||||||
)}
|
)}
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<Markdown text={metadata?.additionalInformation?.description || ''} />
|
<Markdown
|
||||||
|
className={styles.description}
|
||||||
|
text={metadata?.additionalInformation?.description || ''}
|
||||||
|
/>
|
||||||
|
|
||||||
<MetaSecondary metadata={metadata} />
|
<MetaSecondary metadata={metadata} />
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,25 @@
|
||||||
margin-top: calc(var(--spacer) / 4);
|
margin-top: calc(var(--spacer) / 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Markdown tweaks */
|
||||||
|
|
||||||
|
.description h1 {
|
||||||
|
font-size: var(--font-size-h3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h2 {
|
||||||
|
font-size: var(--font-size-h4);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h3 {
|
||||||
|
font-size: var(--font-size-large);
|
||||||
|
}
|
||||||
|
|
||||||
|
.description h4,
|
||||||
|
.description h5 {
|
||||||
|
font-size: var(--font-size-base);
|
||||||
|
}
|
||||||
|
|
||||||
.toggle {
|
.toggle {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0.15rem;
|
bottom: 0.15rem;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user