# HG changeset patch # User Tomas Zeman # Date 1547562723 -3600 # Node ID 5e14799f7ea01589dd56d11a3efe4b05474bea0c # Parent 5af9883f11110970fdec1537bc6873fe2a390237 FA.noFw - no-fiwed-width option fix: li and fw options are exclusive diff -r 5af9883f1111 -r 5e14799f7ea0 example/src/main/scala/example/Example.scala --- a/example/src/main/scala/example/Example.scala Tue Jan 15 15:25:00 2019 +0100 +++ b/example/src/main/scala/example/Example.scala Tue Jan 15 15:32:03 2019 +0100 @@ -28,6 +28,11 @@ div(cls:="pure-u-1", faBook, "Library"), div(cls:="pure-u-1", faPencil, "Applications"), div(cls:="pure-u-1", faCog, "Settings"), + h2("No fixed width icons"), + div(cls:="pure-u-1", + faWifi.noFw, faWikipediaW.noFw, faWon.noFw, faWordpress.noFw, + faXing.noFw, faYahoo.noFw, faYelp.noFw, faYen.noFw, + faYoast.noFw, faYoutube.noFw), h2("List icons"), ul(cls:="fa-ul", li(faCheckSquare.li, "List icons"), diff -r 5af9883f1111 -r 5e14799f7ea0 shared/src/main/scala/fontawesome/generic/FA.scala --- a/shared/src/main/scala/fontawesome/generic/FA.scala Tue Jan 15 15:25:00 2019 +0100 +++ b/shared/src/main/scala/fontawesome/generic/FA.scala Tue Jan 15 15:32:03 2019 +0100 @@ -55,7 +55,8 @@ type Self = FA[Builder, Output, FragT] - def li: Self = copy(_li = true) + def li: Self = copy(_li = true, _fw = false) + def noFw: Self = copy(_fw = false) def border: Self = copy(_border = true) def pullLeft: Self = copy(_pull = Some(PullLeft))