fix: description cuted button on top of the description container and smarter cut
This commit is contained in:
parent
10b3b74e78
commit
841a8610b1
5 changed files with 43 additions and 9 deletions
|
|
@ -229,7 +229,7 @@ export default class PublicController {
|
|||
})
|
||||
}
|
||||
|
||||
version.cutDescription = Utils.isStrUsable(version, 'descriptionLong') && version.descriptionLong.length > 200
|
||||
version.cutDescription = Utils.isStrUsable(version, 'descriptionLong') && version.descriptionLong.length > 800
|
||||
|
||||
// if (version.cutDescription) {
|
||||
// version.descriptionFirstHalf = version.descriptionLong.substr(0, 200) // not gonna lie
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue