From f62454507182ca84b3bb21d9c0b0ce9311be6040 Mon Sep 17 00:00:00 2001 From: markuczy <129275100+markuczy@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:19:15 +0200 Subject: [PATCH] fix: calendar month and date items focusable (#558) --- .../primeng/sass/theme/extensions/_calendar.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_calendar.scss b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_calendar.scss index a93ab54c..2ea035eb 100644 --- a/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_calendar.scss +++ b/libs/portal-layout-styles/src/styles/primeng/sass/theme/extensions/_calendar.scss @@ -86,6 +86,18 @@ } } + .p-monthpicker .p-monthpicker-month:not(.p-disabled):not(.p-highlight):focus { + outline: $calendarFocusOutline; + outline-offset: $calendarFocusOutlineOffset; + box-shadow: none; + } + + .p-yearpicker .p-yearpicker-year:not(.p-disabled):not(.p-highlight):focus { + outline: $calendarFocusOutline; + outline-offset: $calendarFocusOutlineOffset; + box-shadow: none; + } + table { th { border-bottom: var(--divider);