diff --git a/assets/css/blog/featured.css b/assets/css/blog/featured.css index 35cc5015..c4d12ac5 100644 --- a/assets/css/blog/featured.css +++ b/assets/css/blog/featured.css @@ -42,3 +42,23 @@ margin-top: 20px; margin-left: 20px; } + +@media (max-width: 767px) { + .flex.items-center { + display: block; + text-align: center; + justify-content: center; + } + + .flex.items-center > span { + max-width: calc(50% - 0.75rem); + display: inline-block; + margin-right: 0.5rem; + margin-bottom: 0.5rem; + } + + .flex.items-center > span:nth-child(3) { + max-width: 100%; + margin-right: 0; + } +} diff --git a/partials/featured.hbs b/partials/featured.hbs index 921b87a2..1320f4f6 100644 --- a/partials/featured.hbs +++ b/partials/featured.hbs @@ -29,13 +29,14 @@ {{/if}}
- {{/if}} {{/get}}