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 {
|
||||
border-top: 1px solid $brand-grey-lighter;
|
||||
border-bottom: 1px solid $brand-grey-lighter;
|
||||
|
@ -43,7 +43,7 @@ export default class AssetDetails extends PureComponent<AssetDetailsProps> {
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<div>{base.description}</div>
|
||||
<div className={styles.description}>{base.description}</div>
|
||||
|
||||
<ul className={styles.meta}>
|
||||
<li>
|
||||
|
Loading…
Reference in New Issue
Block a user