mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
respect line breaks in description
This commit is contained in:
parent
aedfcd9ca0
commit
0a5289be20
@ -37,6 +37,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
// respect line breaks from textarea
|
||||||
|
white-space: pre-line;
|
||||||
|
}
|
||||||
|
|
||||||
.meta {
|
.meta {
|
||||||
border-top: 1px solid $brand-grey-lighter;
|
border-top: 1px solid $brand-grey-lighter;
|
||||||
border-bottom: 1px solid $brand-grey-lighter;
|
border-bottom: 1px solid $brand-grey-lighter;
|
||||||
|
@ -43,7 +43,7 @@ export default class AssetDetails extends PureComponent<AssetDetailsProps> {
|
|||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<div>{base.description}</div>
|
<div className={styles.description}>{base.description}</div>
|
||||||
|
|
||||||
<ul className={styles.meta}>
|
<ul className={styles.meta}>
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user