Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/reviewBlocks' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bombassaro committed Aug 9, 2020
2 parents 416646f + cfa1416 commit 443fc00
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 8 deletions.
8 changes: 8 additions & 0 deletions components/Article/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@
.paragraph-title {
@include fs(22px);
@include fw(bold);
}
@media (min-width: $lg) {
.article {
@include mt(104px);
.article-head {
@include mb($space-size-8);
}
}
}
4 changes: 2 additions & 2 deletions components/Tags/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.tag {
@include w(max-content);
@include px(20px);
@include py(12px);
@include px(4px);
@include py($space-size-1);
@include mr(20px);
@include mb(16px);
@include b(2px, solid, $color-primary-2);
Expand Down
2 changes: 1 addition & 1 deletion components/Teasers/Teaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Teaser = ({content, domain, hasImageTop, hasSubjectFilled, hasSubtitle, ha
const propsTeaser = {
align: hasImageTop ? 'col' : 'row left',
custom: 'teaser-default',
mb: '4'
mb: '2'
}
const propsImage = {
align: 'row',
Expand Down
6 changes: 5 additions & 1 deletion components/Typography/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
@include fc($article-title-fc);
@extend %bold;
@include mt($space-size-3);
@include mb($space-size-2);
@include mb($space-size-5);
@media (min-width: $lg) {
@include fs($article-title-fs-lg);
@include lh($article-title-lh-lg);
Expand All @@ -84,6 +84,10 @@
@include fc($article-subtitle-fc);
@include ff($font-primary);
@extend %regular;
@media (min-width: $lg) {
@include fs($article-subtitle-fs-lg);
@include lh($article-subtitle-lh-lg);
}
}

.article-paragraph {
Expand Down
6 changes: 4 additions & 2 deletions styles/variables/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ $font-tertiary: 'Arvo' !default;

$article-title-fs-sm: 32px !default;
$article-title-lh-sm: 34px !default;
$article-title-fs-lg: 48px !default;
$article-title-lh-lg: 50px !default;
$article-title-fs-lg: 62px !default;
$article-title-lh-lg: 66px !default;
$article-title-ff: $font-primary !default;

$article-subtitle-fs: 18px !default;
$article-subtitle-lh: 26px !default;
$article-subtitle-ff: $font-primary !default;
$article-subtitle-fs-lg: 20px !default;
$article-subtitle-lh-lg: 28px !default;

$article-paragraph-fs: 18px !default;
$article-paragraph-lh: 42px !default;
Expand Down
2 changes: 1 addition & 1 deletion teasers.js
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ var Teaser = function Teaser(_ref) {
var propsTeaser = {
align: hasImageTop ? 'col' : 'row left',
custom: 'teaser-default',
mb: '4'
mb: '2'
};
var propsImage = {
align: 'row',
Expand Down
2 changes: 1 addition & 1 deletion templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ var Teaser = function Teaser(_ref) {
var propsTeaser = {
align: hasImageTop ? 'col' : 'row left',
custom: 'teaser-default',
mb: '4'
mb: '2'
};
var propsImage = {
align: 'row',
Expand Down

0 comments on commit 443fc00

Please sign in to comment.