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 {
2514
2514
* * . - a period signifies an empty grid cell
2515
2515
* * none - no grid areas are defined
2516
2516
*/
2517
- final def gridTemplateAreas = Style [String ](" gridTemplateAreas" )
2517
+ final object gridTemplateAreas extends Style [String ](" gridTemplateAreas" ) {
2518
+ def apply (rows : String * ) = this := rows.mkString(" '" , " ' '" , " '" )
2519
+ }
2518
2520
2519
2521
/**
2520
2522
* 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 16
16
* Add helper methods to the ` autoComplete ` attribute, eg. ` ^.autoComplete.currentPassword `
17
17
* ` minLength ` and ` maxLength ` now only accept ints
18
18
* 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'" `
19
21
20
22
* Dependency upgrades
21
23
* Cats 1.6.0
You can’t perform that action at this time.
0 commit comments