From b9c4940d5d15df7422f33ac90f53c12f3dea91b6 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Tue, 3 Jul 2018 15:37:34 +0000 Subject: [PATCH] Fix #2123 @0:10 --- .../physioassist/resources/assets/scripts/text-block.js | 4 ++++ .../resources/assets/styles/layouts/sections.styl | 3 +++ 2 files changed, 7 insertions(+) diff --git a/wp-content/themes/physioassist/resources/assets/scripts/text-block.js b/wp-content/themes/physioassist/resources/assets/scripts/text-block.js index f6541f30..a5c4b251 100644 --- a/wp-content/themes/physioassist/resources/assets/scripts/text-block.js +++ b/wp-content/themes/physioassist/resources/assets/scripts/text-block.js @@ -50,6 +50,10 @@ function resizeTextBlocks() { styles.html(` .layout-squares .text-block { transform: scale(${scale}) translateY(${translateAmount}%); + -webkit-transform: scale(${scale}) translateY(${translateAmount}%); + -ms-transform: scale(${scale}) translateY(${translateAmount}%); + -moz-transform: scale(${scale}) translateY(${translateAmount}%); + -o-transform: scale(${scale}) translateY(${translateAmount}%); } `); diff --git a/wp-content/themes/physioassist/resources/assets/styles/layouts/sections.styl b/wp-content/themes/physioassist/resources/assets/styles/layouts/sections.styl index 10bed285..fd95ff25 100644 --- a/wp-content/themes/physioassist/resources/assets/styles/layouts/sections.styl +++ b/wp-content/themes/physioassist/resources/assets/styles/layouts/sections.styl @@ -15,6 +15,9 @@ $layout-squares-col-width = 756px // Max width of a column height: 100% position: relative + // Fix text alignment problem in older Safari / Chrome browsers + .elementor-element-populated + align-items: center // Text block overrides .text-block -- 2.39.5