| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | use Elementor\Controls_Manager; |
| 5 | 5 | use Elementor\Group_Control_Background; |
| 6 | 6 | |
| 7 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 8 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | class Settings_Background extends Tab_Base { |
| 12 | 12 | |
| @@ -65,26 +65,8 @@ | ||
| 65 | 65 | 'label' => esc_html__( 'Mobile Browser Background', 'elementor' ), |
| 66 | 66 | 'type' => Controls_Manager::COLOR, |
| 67 | 67 | 'description' => esc_html__( 'The `theme-color` meta tag will only be available in supported browsers and devices.', 'elementor' ), |
| 68 | 68 | 'separator' => 'before', |
| 69 | - ] | |
| 70 | - ); | |
| 71 | - | |
| 72 | - $this->add_control( | |
| 73 | - 'body_overscroll_behavior', | |
| 74 | - [ | |
| 75 | - 'label' => esc_html__( 'Overscroll Behavior', 'elementor' ), | |
| 76 | - 'type' => Controls_Manager::SELECT, | |
| 77 | - 'options' => [ | |
| 78 | - '' => esc_html__( 'Default', 'elementor' ), | |
| 79 | - 'none' => esc_html__( 'None', 'elementor' ), | |
| 80 | - 'auto' => esc_html__( 'Auto', 'elementor' ), | |
| 81 | - 'contain' => esc_html__( 'Contain', 'elementor' ), | |
| 82 | - ], | |
| 83 | - 'separator' => 'before', | |
| 84 | - 'selectors' => [ | |
| 85 | - '{{WRAPPER}}' => 'overscroll-behavior: {{VALUE}};', | |
| 86 | - ], | |
| 87 | 69 | ] |
| 88 | 70 | ); |
| 89 | 71 | |
| 90 | 72 | $this->end_controls_section(); |