Skip to content

Commit

Permalink
TMZ-282 Flex Hero - fix box border color and width
Browse files Browse the repository at this point in the history
  • Loading branch information
mserino committed Jan 3, 2025
1 parent bb5b03e commit b094e7b
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 b094e7b

Please sign in to comment.