Skip to content

Commit

Permalink
include CSS classname in slice def
Browse files Browse the repository at this point in the history
  • Loading branch information
cemms1 committed May 28, 2024
1 parent 58256b1 commit 91ab085
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions app/slices/Slice.scala
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,16 @@ case object ShowcaseSingleStories extends Slice {


/*
* The Highlights layout is used to display select features above the title piece for apps and web
* The Highlights layout is used to display select features in the header for apps and web
*
* Desktop:
* .____________.____________.____________.
* | #####| #####| #####|
* | #####| #####| #####|
* | #####| #####| #####|
* '--------------------------------------'
*
* Mobile:
* .___________.___________.___________.
* | | | |
* | | | |
Expand All @@ -918,27 +926,27 @@ case object ShowcaseSingleStories extends Slice {
*/
case object Highlights extends Slice {
val layout = SliceLayout(
// cssClassName = "t-t-t",
cssClassName = "t-t-t",
columns = Seq(
SingleItem(
colSpan = 1,
ItemClasses(
mobile = Half,
tablet = Third
mobile = Standard,
tablet = MediaList
)
),
SingleItem(
colSpan = 1,
ItemClasses(
mobile = Half,
tablet = Third
mobile = Standard,
tablet = MediaList
)
),
SingleItem(
colSpan = 1,
ItemClasses(
mobile = Half,
tablet = Third
mobile = Standard,
tablet = MediaList
)
)
)
Expand Down

0 comments on commit 91ab085

Please sign in to comment.