From 2f035fa2a5e774867c57fd25b36f262f93436eb7 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Thu, 27 Apr 2023 11:47:35 -0300 Subject: [PATCH] Increased allowed max size of news and latest posts in about (#1369) Fixed size of news and latest posts in about page when visualizing in mobile. Signed-off-by: George Araujo --- _includes/latest_posts.html | 2 +- _includes/news.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/latest_posts.html b/_includes/latest_posts.html index c9fb643..91514d7 100644 --- a/_includes/latest_posts.html +++ b/_includes/latest_posts.html @@ -2,7 +2,7 @@
{% if site.latest_posts != blank -%} {%- assign latest_posts_size = site.posts | size -%} -
3 %}style="max-height: 10vw"{% endif %}> +
3 %}style="max-height: 60vw"{% endif %}> {%- assign latest_posts = site.posts -%} {% if site.latest_posts.limit %} diff --git a/_includes/news.html b/_includes/news.html index 963485d..c7fefdc 100644 --- a/_includes/news.html +++ b/_includes/news.html @@ -2,7 +2,8 @@
{% if site.news != blank -%} {%- assign news_size = site.news | size -%} -
3 %}style="max-height: 10vw"{% endif %}> +
3 %}style="max-height: 60vw"{% endif %}> +
{%- assign news = site.news | reverse -%} {% if site.news.limit %}