added spacing to unordered list
This commit is contained in:
parent
4c2053cd1e
commit
ab1ee24156
@ -36,7 +36,8 @@ import Foundation
|
|||||||
for molecule in list {
|
for molecule in list {
|
||||||
models.append(MoleculeStackItemModel(with: StringAndMoleculeModel(string: bulletChar, molecule: molecule, stringColor: bulletColor)))
|
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 {
|
public override func encode(to encoder: Encoder) throws {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user