From b6f49d0899265a5b0bcf1b79d5bf11184d446816 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 29 Jan 2018 20:58:17 +0100 Subject: Modal content fix --- src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt | 2 +- src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/pl/treksoft/kvision/modal') diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt b/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt index 5b8932cb..6e343dc5 100644 --- a/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt +++ b/src/main/kotlin/pl/treksoft/kvision/modal/Alert.kt @@ -28,7 +28,7 @@ open class Alert( content.align = value } - private val content = Tag(TAG.SPAN, text, rich, align) + private val content = Tag(TAG.DIV, text, rich, align) init { body.add(content) diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt b/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt index 05550f34..80a6e4f5 100644 --- a/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt +++ b/src/main/kotlin/pl/treksoft/kvision/modal/Confirm.kt @@ -34,7 +34,7 @@ open class Confirm( refreshCancelButton() } - private val content = Tag(TAG.SPAN, text, rich, align) + private val content = Tag(TAG.DIV, text, rich, align) private val cancelButton = Button("Cancel", "remove") init { -- cgit