Skip to content

Commit

Permalink
Fix: Flex Hero - box border color and width [TMZ-282](#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
mserino authored Jan 5, 2025
1 parent 6531ab0 commit d75cd51
Showing 1 changed file with 2 additions and 2 deletions.
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 d75cd51

Please sign in to comment.