Skip to content

Commit

Permalink
Merge pull request #567 from carloslancha/issue-542
Browse files Browse the repository at this point in the history
Update styles for new Clay Card Grid List Markup | Fixes #542
  • Loading branch information
matuzalemsteles authored Feb 19, 2018
2 parents f5f52fb + b7c8445 commit ef60ecb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/clay-card-grid/src/ClayCardGrid.soy
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@
id="group-{$currentgroupName}"
{/let}

<li>
<h4 {$headerAttributes}>{$item.label}</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">{$item.label}</h4>
</li>

{call .items}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ exports[`ClayCardGrid should render a ClayCardGrid with id 1`] = `<ul class="car

exports[`ClayCardGrid should render the default markup 1`] = `
<ul class="card-page">
<li>
<h4 class="card-section-header" id="group-0">Folders</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Folders</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-directory card card-horizontal">
Expand Down Expand Up @@ -51,8 +51,8 @@ exports[`ClayCardGrid should render the default markup 1`] = `
</div>
</div>
</li>
<li>
<h4 class="card-section-header" id="group-1">Recipes</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Recipes</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-asset card image-card">
Expand Down Expand Up @@ -195,8 +195,8 @@ exports[`ClayCardGrid should render the default markup 1`] = `
</div>
</div>
</li>
<li>
<h4 class="card-section-header" id="group-2">Chefs</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Chefs</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-asset card">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2826,8 +2826,8 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
<div class="container container-view">
<form>
<ul class="card-page">
<li>
<h4 class="card-section-header" id="group-0">Folders</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Folders</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-directory form-check form-check-card form-check-middle-left">
Expand Down Expand Up @@ -2907,8 +2907,8 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</div>
</li>
<li>
<h4 class="card-section-header" id="group-1">Recipes</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Recipes</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-asset form-check form-check-card form-check-top-left image-card">
Expand Down Expand Up @@ -3159,8 +3159,8 @@ exports[`ClayDatasetDisplay should render a ClayDatasetDisplay with items and li
</div>
</div>
</li>
<li>
<h4 class="card-section-header" id="group-2">Chefs</h4>
<li class="card-page-item-header">
<h4 class="card-section-header">Chefs</h4>
</li>
<li class="card-page-item-directory">
<div class="card-type-asset form-check form-check-card form-check-top-left">
Expand Down

0 comments on commit ef60ecb

Please sign in to comment.