diff --git a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor index 4946ac39..ad9aab7f 100644 --- a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor +++ b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor @@ -70,12 +70,12 @@ } + @if (RenderIcon) + { +
+ +
+ } - @if (RenderIcon) - { -
- -
- } } diff --git a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor.css b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor.css index 5cb23f9f..8d10c2e3 100644 --- a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor.css +++ b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateInternal.razor.css @@ -48,11 +48,6 @@ font-size: .75rem; } -.hx-input-date-icon, -::deep .form-floating label { - z-index: 10; -} - .hx-input-date-wrapper { width: 100%; display: flex; @@ -64,4 +59,8 @@ flex-grow: 1; flex-shrink: 1; min-width: 0; +} + +::deep .dropdown:focus-within { + z-index: 6; /* Assures that the inputs' box shadows are always fully visible (rendered on top). Must be larger than 5 because otherwise the validation message is rendered on top. */ } \ No newline at end of file diff --git a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateRangeInternal.razor.css b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateRangeInternal.razor.css index f248aba3..3c50bbaa 100644 --- a/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateRangeInternal.razor.css +++ b/Havit.Blazor.Components.Web.Bootstrap/Forms/Internal/HxInputDateRangeInternal.razor.css @@ -25,8 +25,6 @@ flex: 1 0 50%; } -::deep .dropdown:focus-within, -::deep .dropdown:has(.is-invalid), -::deep .dropdown:has(.is-valid) { +::deep .dropdown:focus-within { z-index: 6; /* Assures that the inputs' box shadows are always fully visible (rendered on top). Must be larger than 5 because otherwise the validation message is rendered on top. */ } \ No newline at end of file