From 9108234039666264ff220a6efc5e38ec2d3681e8 Mon Sep 17 00:00:00 2001 From: Thiago Monteiro Date: Fri, 17 May 2024 10:18:06 -0300 Subject: [PATCH 1/2] corrige legenda nas single --- .../assets/scss/6-pages/_p-page-videos.scss | 11 +++++++---- .../assets/scss/6-pages/_p-single.scss | 6 ++++++ .../blocks/src/latest-horizontal-posts/edit.js | 2 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-videos.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-videos.scss index 2f3bab56..2dde7189 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-videos.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-page-videos.scss @@ -203,17 +203,20 @@ @media(max-width: 876px){ width: 122px; height: 225px; + margin-left: auto; + margin-right: auto; } - @media(max-width: 782px){ - width: 132px !important; - height: 235px; - } } .post-thumbnail{ .play{ display: none; } } + .latest-horizontal-posts-block__arrows{ + @media(max-width: 782px){ + width: 240px; + } + } .slick-arrow { transition: none !important; } diff --git a/themes/midia-ninja-theme/assets/scss/6-pages/_p-single.scss b/themes/midia-ninja-theme/assets/scss/6-pages/_p-single.scss index f881cff5..3e5f23bb 100644 --- a/themes/midia-ninja-theme/assets/scss/6-pages/_p-single.scss +++ b/themes/midia-ninja-theme/assets/scss/6-pages/_p-single.scss @@ -43,6 +43,12 @@ width: 100%; } + figure{ + figcaption{ + display: inherit; + } + } + .post { font-family: "Manrope", sans-serif; font-style: normal; diff --git a/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/edit.js b/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/edit.js index 87c7ef49..4fab2c7a 100644 --- a/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/edit.js +++ b/themes/midia-ninja-theme/library/blocks/src/latest-horizontal-posts/edit.js @@ -254,7 +254,7 @@ export default function Edit( { attributes, setAttributes } ) { onChange={ ( value ) => setAttributes( { postsToShow: value } ) } min={ 2 } max={ 10 } - step={ 2 } + step={ 1 } /> From 7147030f844e55d6439d8518eacd353984057fe8 Mon Sep 17 00:00:00 2001 From: Thiago Monteiro Date: Fri, 17 May 2024 10:20:32 -0300 Subject: [PATCH 2/2] atualiza tema --- themes/midia-ninja-theme/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/midia-ninja-theme/style.css b/themes/midia-ninja-theme/style.css index dbb17795..36b22741 100644 --- a/themes/midia-ninja-theme/style.css +++ b/themes/midia-ninja-theme/style.css @@ -4,7 +4,7 @@ Theme URI: https://hacklab.com.br/ Author: Hacklab Author URI: https://hacklab.com.br/ Description: Tema base para desenvolvimento de novos sites. -Version: 1.1.0 +Version: 1.1.1 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready