Skip to content

Commit

Permalink
fix: focus on selected and default dates
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Sep 18, 2023
1 parent b08f430 commit e4f94ed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions theme/ItaliaTheme/Widgets/_react-dates-override.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
table.CalendarMonth_table {
border-collapse: separate;
td.CalendarDay__selected:focus {
border: 1px solid white;
outline: 2px solid $focus-outline-color;
border-radius: 100%;
}

td.CalendarDay__default:focus {
border: none;
box-shadow: none;
outline: 2px solid $focus-outline-color;
}
}
1 change: 1 addition & 0 deletions theme/site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
@import 'ItaliaTheme/Widgets/blocksWidget';
@import 'ItaliaTheme/Widgets/subsiteSocialLinks';
@import 'ItaliaTheme/Widgets/reactSelect';
@import 'ItaliaTheme/Widgets/react-dates-override';
@import 'ItaliaTheme/Components/megamenu';
@import 'ItaliaTheme/Components/sharing';
@import 'ItaliaTheme/Components/logo';
Expand Down

0 comments on commit e4f94ed

Please sign in to comment.