diff --git a/assets/scss/styles/06-components/_article.scss b/assets/scss/styles/06-components/_article.scss index 9889b8e..1c986b2 100644 --- a/assets/scss/styles/06-components/_article.scss +++ b/assets/scss/styles/06-components/_article.scss @@ -36,6 +36,10 @@ margin-top: 0.25em; // 1. } +.article__tags { + display: inline-flex; +} + .article__author { max-width: 42rem; margin-left: -0.15em; // 2. diff --git a/assets/scss/styles/06-components/_label.scss b/assets/scss/styles/06-components/_label.scss index 4e32e62..83812c5 100644 --- a/assets/scss/styles/06-components/_label.scss +++ b/assets/scss/styles/06-components/_label.scss @@ -34,6 +34,6 @@ line-height: typography.line-height(medium); } -.label--new { +.label--warning { background-color: map.get(colors.$ui, warning); } diff --git a/assets/scss/styles/10-utilities/_spacing.scss b/assets/scss/styles/10-utilities/_spacing.scss index af290b7..5205c47 100644 --- a/assets/scss/styles/10-utilities/_spacing.scss +++ b/assets/scss/styles/10-utilities/_spacing.scss @@ -2,6 +2,10 @@ // stylelint-disable declaration-no-important -- Only allow `!important` for utility classes. +.spacing-left-1 { + margin-left: 0.5em !important; +} + .spacing-right-1 { margin-right: 0.5em !important; } diff --git a/partials/navigation.hbs b/partials/navigation.hbs index 3c05bbd..a2f36d5 100644 --- a/partials/navigation.hbs +++ b/partials/navigation.hbs @@ -26,7 +26,7 @@ {{label}} {{#has slug="slovnik"}} - nové + nové {{/has}} {{/foreach}} diff --git a/partials/post-card.hbs b/partials/post-card.hbs index d0676ba..4baf509 100644 --- a/partials/post-card.hbs +++ b/partials/post-card.hbs @@ -37,6 +37,9 @@
{{#has tag="count:>1"}} {{tags from=2 to=2}} + {{#has tag="Spolupráce"}} + Spolupráce + {{/has}} — {{/has}} {{reading_time minute=(t "1 min read") minutes=(t "% min read")}} diff --git a/post.hbs b/post.hbs index 9d355d2..778682d 100644 --- a/post.hbs +++ b/post.hbs @@ -45,7 +45,20 @@ {{date format="D. MMMM YYYY"}} — - {{tags from=2}} + {{#if tags}} + + {{/if}} — {{reading_time minute=(t "1 min read") minutes=(t "% min read")}}