diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/core/StyledComponent.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/html/Tag.kt | 1 |
2 files changed, 2 insertions, 1 deletions
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) 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"), |