added spacing to unordered list

This commit is contained in:
Subhankar 2021-12-07 21:46:38 +05:30
parent 4c2053cd1e
commit ab1ee24156

View File

@ -36,7 +36,8 @@ import Foundation
for molecule in list {
models.append(MoleculeStackItemModel(with: StringAndMoleculeModel(string: bulletChar, molecule: molecule, stringColor: bulletColor)))
}
super.init(molecules: models, spacing: 0)
/// changing as per confluence, as spacing between each list item is 16
super.init(molecules: models, spacing: PaddingDefaultVerticalSpacing / 2)
}
public override func encode(to encoder: Encoder) throws {