Skip to content

Commit

Permalink
Merge branch 'master' into feature/TMZ-276
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoladj77 authored Jan 6, 2025
2 parents c7e5ebd + d75cd51 commit 1bdd1a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions modules/content/assets/scss/hello-plus-flex-hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@
&-showcase {
@media screen and (min-width: $screen-desktop-min) {
flex-direction: row;

& .ehp-flex-hero__content-container,
& .ehp-flex-hero__image {
flex-basis: 50%;
}
}

& .ehp-flex-hero__content-container {
Expand Down
4 changes: 2 additions & 2 deletions modules/content/widgets/flex-hero.php
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ protected function add_style_box_section() {
'unit' => 'px',
],
'selectors' => [
'{{WRAPPER}} .ehp-hero' => '--hero-button-border-width: {{SIZE}}{{UNIT}};',
'{{WRAPPER}} .ehp-flex-hero' => '--flex-hero-box-border-width: {{SIZE}}{{UNIT}};',
],
'condition' => [
'show_box_border' => 'yes',
Expand All @@ -1439,7 +1439,7 @@ protected function add_style_box_section() {
'default' => Global_Colors::COLOR_TEXT,
],
'selectors' => [
'{{WRAPPER}} .ehp-hero' => '--hero-button-border-color: {{VALUE}}',
'{{WRAPPER}} .ehp-flex-hero' => '--flex-hero-box-border-color: {{VALUE}}',
],
'condition' => [
'show_box_border' => 'yes',
Expand Down

0 comments on commit 1bdd1a3

Please sign in to comment.