File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2
2
< div class ="news ">
3
3
{% if site.latest_posts != blank -%}
4
4
{%- assign latest_posts_size = site.posts | size -%}
5
- < div class ="table-responsive " {% if site.latest_posts.scrollable and latest_posts_size > 3 %}style="max-height: 10vw "{% endif %}>
5
+ < div class ="table-responsive " {% if site.latest_posts.scrollable and latest_posts_size > 3 %}style="max-height: 60vw "{% endif %}>
6
6
< table class ="table table-sm table-borderless ">
7
7
{%- assign latest_posts = site.posts -%}
8
8
{% if site.latest_posts.limit %}
Original file line number Diff line number Diff line change 2
2
< div class ="news ">
3
3
{% if site.news != blank -%}
4
4
{%- assign news_size = site.news | size -%}
5
- < div class ="table-responsive " {% if site.news.scrollable and news_size > 3 %}style="max-height: 10vw"{% endif %}>
5
+ < div class ="table-responsive " {% if site.news.scrollable and news_size > 3 %}style="max-height: 60vw"{% endif %}>
6
+ < script > console . log ( { { news_size} } ) ; </ script >
6
7
< table class ="table table-sm table-borderless ">
7
8
{%- assign news = site.news | reverse -%}
8
9
{% if site.news.limit %}
You can’t perform that action at this time.
0 commit comments