| @@ -2,8 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Welcome Tour's Spotlight component. |
| 4 | 4 | * |
| 5 | 5 | * @since 6.25.1 |
| 6 | + * | |
| 6 | 7 | * @package Formidable |
| 7 | 8 | */ |
| 8 | 9 | |
| 9 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -26,8 +27,9 @@ | ||
| 26 | 27 | |
| 27 | 28 | if ( ! empty( $spotlight['offset']['top'] ) ) { |
| 28 | 29 | $spotlight_attributes['style'] .= 'margin-top: ' . $spotlight['offset']['top'] . 'px;'; |
| 29 | 30 | } |
| 31 | + | |
| 30 | 32 | if ( ! empty( $spotlight['offset']['left'] ) ) { |
| 31 | 33 | $spotlight_attributes['style'] .= 'margin-left: ' . $spotlight['offset']['left'] . 'px;'; |
| 32 | 34 | } |
| 33 | 35 | ?> |