--- 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"),
--- 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))