From fc5394294e8c32a9a076ccecd71ef197821b5b22 Mon Sep 17 00:00:00 2001 From: Nikolay Hristov Date: Tue, 17 Oct 2023 14:01:03 +0300 Subject: [PATCH] fix(ui5-step-input): fix z-index of increase/decrease buttons and focus --- packages/main/src/themes/StepInput.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/main/src/themes/StepInput.css b/packages/main/src/themes/StepInput.css index 2f4450563d62..c60d7658cf15 100644 --- a/packages/main/src/themes/StepInput.css +++ b/packages/main/src/themes/StepInput.css @@ -105,7 +105,7 @@ pointer-events: none; border-radius: var(--sapField_BorderCornerRadius); border-style: var(--_ui5_input_error_warning_border_style); - z-index: 3; + z-index: 1; border-width: 0px; } @@ -195,7 +195,7 @@ height: 2rem; height: 100%; background-color: var(--_ui5_step_input_button_background_color); - z-index: 2; + z-index: 0; } :host .ui5-step-icon[focused] { @@ -205,6 +205,7 @@ :host .ui5-step-icon.ui5-step-dec { left: var(--_ui5_step_input_button_left); + z-index: 1; } :host .ui5-step-icon.ui5-step-inc { @@ -236,7 +237,7 @@ left: 0px; outline: none; pointer-events: none; - z-index: 3; + z-index: 1; } :host .ui5-step-input-input[focused] {