Skip to content

Commit

Permalink
fix(ui5-calendar): align year and month picker focus to horizon (#5692)
Browse files Browse the repository at this point in the history
fixes: #5644
  • Loading branch information
tsanislavgatev authored Aug 23, 2022
1 parent 583a63d commit 02816a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/main/src/themes/MonthPicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}

.ui5-mp-item.ui5-mp-item--selected:focus::after {
border-color: var(--sapContent_ContrastFocusColor);
border-color: var(--_ui5_monthpicker_item_focus_after_border);
}

.ui5-mp-item.ui5-mp-item--selected:hover {
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/themes/YearPicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}

.ui5-yp-item.ui5-yp-item--selected:focus::after {
border-color: var(--sapContent_ContrastFocusColor);
border-color: var(--_ui5_yearpicker_item_focus_after_border);
}

.ui5-yp-item.ui5-yp-item--selected:hover {
Expand Down

0 comments on commit 02816a9

Please sign in to comment.