File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
core/src/main/scala/japgolly/scalajs/react/vdom Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -2514,7 +2514,9 @@ trait HtmlStyles {
25142514 * * . - a period signifies an empty grid cell
25152515 * * none - no grid areas are defined
25162516 */
2517- final def gridTemplateAreas = Style [String ](" gridTemplateAreas" )
2517+ final object gridTemplateAreas extends Style [String ](" gridTemplateAreas" ) {
2518+ def apply (rows : String * ) = this := rows.mkString(" '" , " ' '" , " '" )
2519+ }
25182520
25192521 /**
25202522 * Specifies the size of the grid lines. You can think of it like setting the
Original file line number Diff line number Diff line change 1616 * Add helper methods to the ` autoComplete ` attribute, eg. ` ^.autoComplete.currentPassword `
1717 * ` minLength ` and ` maxLength ` now only accept ints
1818 * add ` pattern ` attribute
19+ * ` gridTemplateAreas ` has a new optional syntax: ` ^.gridTemplateAreas("a a", "b c", "b c") `
20+ which is equivalent to ` ^.gridTemplateAreas := "'a a' 'b c' 'b c'" `
1921
2022* Dependency upgrades
2123 * Cats 1.6.0
You can’t perform that action at this time.
0 commit comments