Skip to content

Commit

Permalink
Update: (liferay#542) Card Card Page added .card-page-item-header f…
Browse files Browse the repository at this point in the history
…or headings inside `.card-page`
  • Loading branch information
pat270 authored and Kien Do committed Feb 21, 2018
1 parent 0d86c14 commit dbfa16b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions packages/clay/src/scss/components/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,12 @@
@extend %clay-custom-grid-wrapper;
}

.card-page-item-header {
padding-left: $grid-gutter-width / 2;
padding-right: $grid-gutter-width / 2;
width: 100%;
}

.card-page-item-directory {
@include clay-custom-grid-columns($card-page-item-directory);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/clay/src/scss/variables/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $card-body-padding-top: null !default;

$card-section-header-color: $secondary !default;
$card-section-header-font-size: 0.75rem !default;
$card-section-header-font-weight: null !default;
$card-section-header-font-weight: $font-weight-semi-bold !default;
$card-section-header-line-height: 2.5 !default;
$card-section-header-margin-bottom: 1.5rem !default;
$card-section-header-padding: 0 ($grid-gutter-width / 2) !default;
Expand Down

0 comments on commit dbfa16b

Please sign in to comment.