diff --git a/packages/date-picker/theme/lumo/vaadin-month-calendar-styles.js b/packages/date-picker/theme/lumo/vaadin-month-calendar-styles.js index f898bb733c..ed0225fd79 100644 --- a/packages/date-picker/theme/lumo/vaadin-month-calendar-styles.js +++ b/packages/date-picker/theme/lumo/vaadin-month-calendar-styles.js @@ -137,7 +137,7 @@ registerStyles( @media (pointer: coarse) { [part~='date']:hover:not([part~='selected'])::before, - [part~='focused']:not([part~='selected'])::before { + :host(:not([focus-ring])) [part~='focused']:not([part~='selected'])::before { display: none; } @@ -145,11 +145,10 @@ registerStyles( display: block; } - [part~='date'][part~='selected']::before { + :host(:not([focus-ring])) [part~='date'][part~='selected']::before { box-shadow: none; } } - /* Disabled */ :host([disabled]) * {