Whitespace alignments

This commit is contained in:
Pieter Vander Vennet 2022-05-17 03:22:58 +02:00
parent 504cb92e3b
commit 2f0f0847fb

View file

@ -516,7 +516,7 @@ export default class TagRenderingConfig {
`This rendering asks information about the property `, `This rendering asks information about the property `,
Link.OsmWiki(this.freeform.key), Link.OsmWiki(this.freeform.key),
new Paragraph(new Combine([ new Paragraph(new Combine([
"This is rendered with", "This is rendered with ",
new FixedUiElement(this.render.txt).SetClass("literalcode bold") new FixedUiElement(this.render.txt).SetClass("literalcode bold")
])) ]))
@ -531,7 +531,7 @@ export default class TagRenderingConfig {
new Combine( new Combine(
[ [
new FixedUiElement(m.then.txt).SetClass("bold"), new FixedUiElement(m.then.txt).SetClass("bold"),
"corresponds with", "corresponds with ",
m.if.asHumanString(true, false, {}) m.if.asHumanString(true, false, {})
] ]
) )
@ -550,10 +550,10 @@ export default class TagRenderingConfig {
let condition : BaseUIElement = undefined let condition : BaseUIElement = undefined
if(this.condition !== undefined && !this.condition?.matchesProperties({})){ if(this.condition !== undefined && !this.condition?.matchesProperties({})){
condition = new Combine(["Only visible if", condition = new Combine(["Only visible if ",
new FixedUiElement( this.condition.asHumanString(false, false, {}) new FixedUiElement( this.condition.asHumanString(false, false, {})
).SetClass("code") ).SetClass("code")
, "is shown"]) , " is shown"])
} }
let group : BaseUIElement = undefined let group : BaseUIElement = undefined