From 29bd32543d937fc791bec9378ba8c74f2aa6657f Mon Sep 17 00:00:00 2001 From: Oliver Juhas | WebMan Design Date: Tue, 6 Feb 2018 11:46:19 +0100 Subject: [PATCH] 1.0.8 --- assets/css/main-rtl.css | 6 ++++-- assets/css/main.css | 4 +++- assets/scss/main.scss | 2 +- assets/scss/main/base/__classes.scss | 2 +- assets/scss/main/plugins/__beaver-builder.scss | 7 +++++++ changelog.md | 13 +++++++++++++ style.css | 2 +- templates/parts/loop/loop.php | 6 ++++-- 8 files changed, 34 insertions(+), 8 deletions(-) diff --git a/assets/css/main-rtl.css b/assets/css/main-rtl.css index bdfa92a..51ae552 100644 --- a/assets/css/main-rtl.css +++ b/assets/css/main-rtl.css @@ -1052,7 +1052,7 @@ tbody tr:hover td::after, tbody tr:hover th::after { content: ''; position: abso .site .background-size-stretch > div { background-size: inherit; } -.skip-link-list { position: absolute; left: 0; top: 0; padding: 0; margin: 0; list-style: none; } +.skip-link-list { position: absolute; right: 0; top: 0; padding: 0; margin: 0; list-style: none; } .skip-link-list-item { list-style: inherit; white-space: nowrap; } @@ -2178,6 +2178,8 @@ a .entry-date { cursor: pointer; } .content-layout-no-paddings .content-area { width: 100%; } /* FILE: main/plugins/__beaver-builder.scss */ +@media only screen and (max-width: 41.9375em) { .fl-row { overflow: hidden; } } + .site .fl-row-full-height .fl-row-content { -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; } .fl-row-full-height.split-screen-row .fl-row-content { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } @@ -2186,7 +2188,7 @@ a .entry-date { cursor: pointer; } .fl-col { max-width: 100%; } -.fl-col-group { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; } +.fl-col-group { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; max-width: 100%; } .fl-col-content { width: 100%; min-width: 1px; max-width: 100%; } diff --git a/assets/css/main.css b/assets/css/main.css index a039b88..68213de 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -2176,6 +2176,8 @@ a .entry-date { cursor: pointer; } .content-layout-no-paddings .content-area { width: 100%; } /* FILE: main/plugins/__beaver-builder.scss */ +@media only screen and (max-width: 41.9375em) { .fl-row { overflow: hidden; } } + .site .fl-row-full-height .fl-row-content { -webkit-flex: 0 1 auto; -ms-flex: 0 1 auto; flex: 0 1 auto; } .fl-row-full-height.split-screen-row .fl-row-content { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; } @@ -2184,7 +2186,7 @@ a .entry-date { cursor: pointer; } .fl-col { max-width: 100%; } -.fl-col-group { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; } +.fl-col-group { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; width: 100%; max-width: 100%; } .fl-col-content { width: 100%; min-width: 1px; max-width: 100%; } diff --git a/assets/scss/main.scss b/assets/scss/main.scss index d4db365..500f512 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -7,7 +7,7 @@ // @copyright WebMan Design, Oliver Juhas // // @since 1.0.0 -// @version 1.0.7 +// @version 1.0.8 // diff --git a/assets/scss/main/base/__classes.scss b/assets/scss/main/base/__classes.scss index 8cdb1e4..af693f0 100644 --- a/assets/scss/main/base/__classes.scss +++ b/assets/scss/main/base/__classes.scss @@ -67,7 +67,7 @@ .skip-link-list { position: absolute; - left: 0; + #{$left}: 0; // {{RTL}} top: 0; padding: 0; margin: 0; diff --git a/assets/scss/main/plugins/__beaver-builder.scss b/assets/scss/main/plugins/__beaver-builder.scss index b2c523d..d01ba9c 100644 --- a/assets/scss/main/plugins/__beaver-builder.scss +++ b/assets/scss/main/plugins/__beaver-builder.scss @@ -29,6 +29,12 @@ .fl-row { + @include responsive( map_get( $breakpoint, 'm' ), 'max-width' ) { + overflow: hidden; // Required to prevent mobile device horizontal scroll + } + + + &-content { @extend %max_width_1920; @@ -82,6 +88,7 @@ display: flex; flex-wrap: wrap; width: 100%; // This is overridden in BB layout CSS when needed + max-width: 100%; // Required to prevent mobile device horizontal scroll } &-content { diff --git a/changelog.md b/changelog.md index 65f3ce9..2a75173 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,18 @@ # Reykjavik Changelog +## 1.0.8 + +* **Fix**: Jetpack Infinite Scroll compatibility +* **Fix**: Mobile devices horizontal scroll + +### Files changed: + + changelog.md + style.css + assets/scss/main.scss + templates/parts/loop/loop.php + + ## 1.0.7 * **Fix**: Hiding WooCommerce 3.3 search form submit button diff --git a/style.css b/style.css index 0ae7e10..e7dce22 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ Theme Name: Reykjavik Theme URI: https://www.webmandesign.eu/portfolio/reykjavik-wordpress-theme/ Author: WebMan Design Author URI: https://www.webmandesign.eu/ -Version: 1.0.7 +Version: 1.0.8 Text Domain: reykjavik Domain Path: /languages License: GNU General Public License v3 diff --git a/templates/parts/loop/loop.php b/templates/parts/loop/loop.php index 2870848..113ef81 100644 --- a/templates/parts/loop/loop.php +++ b/templates/parts/loop/loop.php @@ -2,11 +2,13 @@ /** * Default WordPress loop content * + * Jetpack Infinite Scroll requires `id="posts"`. + * * @package Reykjavik * @copyright WebMan Design, Oliver Juhas * * @since 1.0.0 - * @version 1.0.0 + * @version 1.0.8 */ @@ -17,7 +19,7 @@ ?> -
+