Small fixes
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = "nl.astraeus"
|
||||
version = "0.4.17"
|
||||
version = "0.4.19"
|
||||
|
||||
repositories {
|
||||
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
|
||||
|
||||
@@ -344,6 +344,10 @@ open class Style : CssGenerator() {
|
||||
props[name] = prp(value)
|
||||
}
|
||||
|
||||
fun plain(name: String, value: CssProperty) {
|
||||
props[name] = prp(value)
|
||||
}
|
||||
|
||||
fun alignContent(value: AlignContent) { props["align-content"] = prp(value) }
|
||||
fun alignItems(alignItems: AlignItems) { props["align-items"] = prp(alignItems) }
|
||||
fun all(all: All) { props["all"] = prp(all) }
|
||||
@@ -542,7 +546,7 @@ open class Style : CssGenerator() {
|
||||
fun left(left: Measurement) { props["left"] = prp(left) }
|
||||
fun letterSpacing(length: Measurement) { props["letter-spacing"] = prp(length) }
|
||||
fun letterSpacing(spacing: LetterSpacing) { props["letter-spacing"] = prp(spacing) }
|
||||
fun lineHeight(number: Double) { props["letter-spacing"] = prp("$number") }
|
||||
fun lineHeight(number: Double) { props["line-height"] = prp("$number") }
|
||||
fun lineHeight(measurement: Measurement) { props["line-height"] = prp(measurement) }
|
||||
fun lineHeight(height: LineHeight) { props["line-height"] = prp(height) }
|
||||
fun listStyle(style: String) { props["list-style"] = prp(style) }
|
||||
|
||||
Reference in New Issue
Block a user