Skip to content

Commit

Permalink
Merge pull request #944 from equalizedigital/feature/local-dev-branch
Browse files Browse the repository at this point in the history
Feature/local dev branch
  • Loading branch information
tronsymphony authored Nov 9, 2023
2 parents e72695e + 0af8d4c commit 451d066
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion assets/scss/blocks/featured-in.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
&-container {
margin: 0 auto;
max-width: $container-width;
padding: 0 $container-padding;
&-header {
display: flex;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/partials/_editor-class.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ blockquote{
&:not(.is-style-plain) {

max-width: 740px;
margin: 60px auto 10px !important;
margin: 60px auto 20px !important;
padding: 100px 24px 50px;
display: grid;
gap: 27px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
$acf_title = get_field( 'title' );
$content = get_field( 'content' );
$image = get_field( 'image' );
$placeholder_image_retina_display = get_field( 'placeholder_image_retina_display' );
$youtube_video_id = get_field( 'youtube_video_id' );
$acf_link = get_field( 'link' );
$reverse_order_of_image_and_content = get_field( 'reverse_order_of_image_and_content' );
Expand All @@ -60,6 +61,11 @@
<div class="full-width-columns-background-container__video" >
<?php if ( $image ) : ?>
<img src="<?php echo wp_kses_post( $image['url'] ); ?>" alt="<?php echo wp_kses_post( $image['alt'] ); ?>">

<img src="<?php echo wp_kses_post( $image['url'] ); ?>"
srcset="<?php echo wp_kses_post( $image['url'] ); ?> 1x, <?php echo wp_kses_post( $placeholder_image_retina_display ['url'] ); ?> 2x"
alt="<?php echo wp_kses_post( $image['alt'] ); ?>">

<?php endif; ?>
<?php if(!empty($youtube_video_id)): ?>
<button class="modal-btn btn-dark-bg full-width-columns-background-container__video__button" aria-haspopup="dialog" data-modal="modal1" aria-label="Open Video" id="play-iframe" >
Expand Down

0 comments on commit 451d066

Please sign in to comment.