fix for card style

This commit is contained in:
btzr-io 2017-08-18 19:09:45 -06:00
parent 95f68cbda8
commit 509ff192cd
2 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@
--card-hover-translate: 10px; --card-hover-translate: 10px;
--card-margin: $spacing-vertical * 2/3; --card-margin: $spacing-vertical * 2/3;
--card-max-width: $width-page-constrained; --card-max-width: $width-page-constrained;
--card-padding: var(--card-margin); --card-padding: $spacing-vertical * 2/3;
--card-radius: 2px; --card-radius: 2px;
--card-link-scaling: 1.1; --card-link-scaling: 1.1;
--card-shadow: var(--box-shadow-layer); --card-shadow: var(--box-shadow-layer);

View file

@ -30,7 +30,7 @@
.card__actions, .card__actions,
.card__content, .card__content,
.card__subtext { .card__subtext {
padding: 0 cacl(var(--card-padding) / 2); padding: 0 calc(var(--card-padding) / 2);
} }
} }
.card__title-primary { .card__title-primary {
@ -176,12 +176,12 @@ $font-size-subtext-multiple: 0.82;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-width: var(--card-max-width); max-width: var(--card-max-width);
padding: calc(var(--vertical-spacing) / 2); padding: $spacing-vertical / 2;
} }
.card-row { .card-row {
+ .card-row { + .card-row {
margin-top: calc(var(--vertical-spacing) * 1/3); margin-top: $spacing-vertical * 1/3;
} }
} }
@ -213,7 +213,7 @@ $padding-right-card-hover-hack: 30px;
padding-right: $padding-right-card-hover-hack; padding-right: $padding-right-card-hover-hack;
} }
.card-row__header { .card-row__header {
margin-bottom: $spacing-vertical; margin-bottom: $spacing-vertical / 3;
} }
.card-row__scrollhouse { .card-row__scrollhouse {