From 7fc0dbd0a56d9d06a1789ed0e522036493396329 Mon Sep 17 00:00:00 2001 From: Robbie Cronin Date: Wed, 26 Jun 2019 13:08:29 +0800 Subject: Add break to Tag element --- src/main/kotlin/pl/treksoft/kvision/html/Tag.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/kotlin/pl/treksoft') diff --git a/src/main/kotlin/pl/treksoft/kvision/html/Tag.kt b/src/main/kotlin/pl/treksoft/kvision/html/Tag.kt index 68e43da0..512ca8b8 100644 --- a/src/main/kotlin/pl/treksoft/kvision/html/Tag.kt +++ b/src/main/kotlin/pl/treksoft/kvision/html/Tag.kt @@ -70,6 +70,7 @@ enum class TAG(internal val tagName: String) { SPAN("span"), LI("li"), HR("hr"), + BR("br"), CAPTION("caption"), THEAD("thead"), -- cgit From e07e8648d33d906b3354952bd84b61583622894c Mon Sep 17 00:00:00 2001 From: Robbie Cronin Date: Wed, 26 Jun 2019 13:52:34 +0800 Subject: correct spelling error for vertical-align --- src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl/treksoft') diff --git a/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt b/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt index d9fa63fc..d5baf309 100644 --- a/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt +++ b/src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt @@ -448,7 +448,7 @@ abstract class StyledComponent { snstyle.add("unicode-bidi" to it.unicodeBidi) } verticalAlign?.let { - snstyle.add("vartical-align" to it.verticalAlign) + snstyle.add("vertical-align" to it.verticalAlign) } whiteSpace?.let { snstyle.add("white-space" to it.whiteSpace) -- cgit