From: stephen@cubedesigners.com Date: Wed, 18 Mar 2020 09:44:37 +0000 (+0000) Subject: Wait #3470 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=96f375a4a6eea0a37da6197686f4d2938821fd9e;p=physioassist-wordpress.git Wait #3470 @1 --- diff --git a/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/TextCarousel.php b/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/TextCarousel.php index 4f25c397..1694a555 100644 --- a/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/TextCarousel.php +++ b/wp-content/mu-plugins/physioassist/src/Elementor/Widgets/TextCarousel.php @@ -76,14 +76,14 @@ class TextCarousel extends Widget_Base { [ 'name' => 'title', 'label' => __( 'Title', 'elementor' ), - 'type' => Controls_Manager::TEXTAREA, + 'type' => Controls_Manager::TEXT, 'placeholder' => __( 'Enter your title', 'elementor' ), 'default' => '', ], [ 'name' => 'subtitle', 'label' => __( 'Subtitle', 'cube' ), - 'type' => Controls_Manager::TEXT, + 'type' => Controls_Manager::TEXTAREA, 'label_block' => true, ], [ diff --git a/wp-content/themes/physioassist/resources/assets/styles/widgets/profile-carousel.styl b/wp-content/themes/physioassist/resources/assets/styles/widgets/profile-carousel.styl index 9899e03c..d4970ab4 100644 --- a/wp-content/themes/physioassist/resources/assets/styles/widgets/profile-carousel.styl +++ b/wp-content/themes/physioassist/resources/assets/styles/widgets/profile-carousel.styl @@ -37,6 +37,7 @@ &-body color: $colors.text font-size: 16px + margin-top: 1.5em &-lightbox horizontal-spacing(5vw) diff --git a/wp-content/themes/physioassist/resources/assets/styles/widgets/video-carousel.styl b/wp-content/themes/physioassist/resources/assets/styles/widgets/video-carousel.styl index 1e30cf4e..2abefa05 100644 --- a/wp-content/themes/physioassist/resources/assets/styles/widgets/video-carousel.styl +++ b/wp-content/themes/physioassist/resources/assets/styles/widgets/video-carousel.styl @@ -6,10 +6,11 @@ margin: 0 20px &-image + position: relative display: block width: 100% - position: relative - padding-bottom: 100% + max-width: 240px + margin: 0 auto background-size: cover background-position: center background-repeat: no-repeat @@ -17,6 +18,9 @@ box-shadow: inset 2px 2px 10px 0px rgba(0,0,0,0.3) overflow: hidden + &-sizer + padding-bottom: 100% // Make it square + &:before content: '' position: absolute diff --git a/wp-content/themes/physioassist/resources/views/widgets/profile-carousel.blade.php b/wp-content/themes/physioassist/resources/views/widgets/profile-carousel.blade.php index 4b5f5acc..59869fc6 100644 --- a/wp-content/themes/physioassist/resources/views/widgets/profile-carousel.blade.php +++ b/wp-content/themes/physioassist/resources/views/widgets/profile-carousel.blade.php @@ -60,7 +60,10 @@ - {!! $item['body'] !!} + + {{-- .profile-carousel-item --}} diff --git a/wp-content/themes/physioassist/resources/views/widgets/video-gallery-carousel.blade.php b/wp-content/themes/physioassist/resources/views/widgets/video-gallery-carousel.blade.php index 0b0422b9..bd3408a5 100644 --- a/wp-content/themes/physioassist/resources/views/widgets/video-gallery-carousel.blade.php +++ b/wp-content/themes/physioassist/resources/views/widgets/video-gallery-carousel.blade.php @@ -29,7 +29,9 @@ @foreach ($videos as $video)