diff options
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/core/Widget.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt b/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt index 28b0a076..4ff7a640 100644 --- a/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt +++ b/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt @@ -355,7 +355,7 @@ open class Widget(classes: Set<String> = setOf()) : StyledComponent() { ): Array<out Any> { return if (icon != null) { if (icon.startsWith("fa-")) { - arrayOf(KVManager.virtualize("<i class='fa $icon fa-lg'></i>"), " " + label) + arrayOf(KVManager.virtualize("<i class='fa $icon'></i>"), " " + label) } else { arrayOf(KVManager.virtualize("<span class='glyphicon glyphicon-$icon'></span>"), " " + label) } |