diff --git a/readme.txt b/readme.txt index b3a4b4d..8a1ded8 100644 --- a/readme.txt +++ b/readme.txt @@ -77,6 +77,9 @@ Content images == Changelog == += 1.0.4 - 2021-10-01 = +* Fixed grid spacing for mobile resolutions + = 1.0.3 - 2021-10-01 = * Fixed single entry top spacing * Fixed spacing in case carousel is disabled diff --git a/style.css b/style.css index 4f74417..c6300e9 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: Bigvisual Theme URI: http://alx.media/themes/bigvisual/ -Version: 1.0.3 +Version: 1.0.4 Requires at least: 5.0 Requires PHP: 5.6 Tested up to: 5.8 @@ -918,6 +918,10 @@ body.search article.type-page .type-card-date { display: none; } .article-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(380px,1fr)); gap: 30px; } +@media only screen and (max-width: 1189px) { + .article-grid { display: block; } + .card-small .type-card { margin-bottom: 40px; } +} @media only screen and (min-width: 1190px) { .card-small .type-card-content { padding: 40px; } .card-small .type-card-title { font-size: 32px; }