diff options
author | Robert Jaros <rjaros@users.noreply.github.com> | 2019-06-26 11:06:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-26 11:06:29 +0200 |
commit | 4895cd4698bdcdcd6b39c728a5952ecba45fb5cf (patch) | |
tree | 91497a3e32c8b4281fe0acebb9828cbc25cc3d07 /src/main | |
parent | 9c914beef971705fab6711d54747136f38c02c69 (diff) | |
parent | e07e8648d33d906b3354952bd84b61583622894c (diff) | |
download | kvision-4895cd4698bdcdcd6b39c728a5952ecba45fb5cf.tar.gz kvision-4895cd4698bdcdcd6b39c728a5952ecba45fb5cf.tar.bz2 kvision-4895cd4698bdcdcd6b39c728a5952ecba45fb5cf.zip |
Merge pull request #61 from robert-cronin/master
Add <br> tag to enum
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"), |