Skip to content

Commit

Permalink
Merge pull request #1364 from pat270/clay-1363
Browse files Browse the repository at this point in the history
Fixes #1363 - ClayCSS Collapse Icon use em values instead of rem on t…
  • Loading branch information
jbalsas authored Dec 7, 2018
2 parents 0f3d467 + eb69b3a commit 926f636
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/clay-css/src/scss/components/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ a.collapse-icon {
}
}

.collapse-icon-middle {
.collapse-icon.collapse-icon-middle {
.collapse-icon-closed,
.collapse-icon-open {
margin-top: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-css/src/scss/variables/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $collapse-icon-padding-right: 2.28125rem !default; // 45px
$collapse-icon-position-bottom: null !default;
$collapse-icon-position-left: null !default;
$collapse-icon-position-right: 0.9375rem !default; // 15px
$collapse-icon-position-top: clay-collapse-icon-align($nav-link-padding-y, 0.0625rem, $font-size-base) !default;
$collapse-icon-position-top: clay-collapse-icon-align($nav-link-padding-y, 0.0625rem, 0.9375em) !default;

$lexicon-icon-size: 1em !default; // 16px

Expand Down
2 changes: 1 addition & 1 deletion packages/clay-css/src/scss/variables/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $panel-header-collapse-icon-font-size: 0.875rem !default; // 14px
$panel-header-collapse-icon-bottom: null !default;
$panel-header-collapse-icon-left: null !default;
$panel-header-collapse-icon-right: null !default;
$panel-header-collapse-icon-top: clay-collapse-icon-align($panel-header-padding-y, 0, $panel-header-font-size, $panel-header-line-height) !default;
$panel-header-collapse-icon-top: clay-collapse-icon-align($panel-header-padding-y, 0, 1em, $panel-header-line-height) !default;

$panel-header-collapse-icon-padding-left: null !default;
$panel-header-collapse-icon-padding-right: null !default;
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-css/src/scss/variables/_sheets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $sheet-subtitle-link-hover-text-decoration: none !default;
$sheet-subtitle-collapse-icon-bottom: null !default;
$sheet-subtitle-collapse-icon-left: null !default;
$sheet-subtitle-collapse-icon-right: null !default;
$sheet-subtitle-collapse-icon-top: clay-collapse-icon-align($sheet-subtitle-padding-y, 0, $sheet-subtitle-font-size, $sheet-subtitle-line-height) !default;
$sheet-subtitle-collapse-icon-top: clay-collapse-icon-align($sheet-subtitle-padding-y, 0, 1em, $sheet-subtitle-line-height) !default;

$sheet-subtitle-collapse-icon-padding-left: null !default;
$sheet-subtitle-collapse-icon-padding-right: null !default;
Expand Down

0 comments on commit 926f636

Please sign in to comment.