Skip to content

Commit

Permalink
Merge branch 'SteveJonesDev/issue505' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveJonesDev committed Oct 24, 2023
2 parents 04f0ec0 + 23869cf commit a0ebefd
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 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.

14 changes: 8 additions & 6 deletions assets/scss/blocks/vendor-repeater.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
.vendor_repeater_block {
&_container_items {
overflow: scroll;
display: flex;
align-items: center;
justify-content: center;
@include media(">tablet") {
overflow: scroll;
display: flex;
align-items: center;
justify-content: center;
}
}
&_container_items_table {
border: 1px solid #D9D9D9;
Expand All @@ -18,7 +20,7 @@
display: none;
}
.btn {
min-width: 190px;
min-width: 180px;
display: inline-flex;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -57,7 +59,7 @@
}

td {
padding: 15px 15px;
padding: 10px 4px;
text-align: center;
border-bottom: 1px solid #D9D9D9;
border-right: 1px solid #D9D9D9;
Expand Down
5 changes: 4 additions & 1 deletion config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"uuidString" : "F098CAB6-68FD-4BF6-AE0A-27C6B360832B"
}
],
"creatorBuild" : "34518",
"creatorBuild" : "34484",
"files" : {
"\/.github\/workflows\/develop.yml" : {
"cB" : 0,
Expand Down Expand Up @@ -5171,6 +5171,9 @@
"active" : 0,
"optionString" : "'except-parens'"
},
"no-return-await" : {
"active" : 0
},
"no-script-url" : {
"active" : 0
},
Expand Down
6 changes: 5 additions & 1 deletion template-parts/blocks/vendor-repeater/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@
$company_logo = get_sub_field( 'company_logo' );
?>
<td>
<h3><img src="<?php echo wp_kses_post($company_logo['url']); ?>" alt="<?php echo wp_kses_post($company_logo['alt']); ?>"></h3>
<?php if( $company_logo ) { ?>
<h3>
<img src="<?php echo wp_kses_post($company_logo['url']); ?>" alt="<?php echo wp_kses_post($company_logo['alt']); ?>">
</h3>
<?php } ?>
</td>
<?php
endwhile;
Expand Down

0 comments on commit a0ebefd

Please sign in to comment.