Skip to content

Commit

Permalink
STCOM-1225 Spinner button hidden in datepicker calendar. (#2164)
Browse files Browse the repository at this point in the history
* Specifically display the calendar number spinner.

* isolate styling of Datepicker's yearinput spinner

* add 'appearance' rule to yearinput selector
  • Loading branch information
JohnC-80 authored Nov 2, 2023
1 parent d27151a commit 95268dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Add z-index of 1 to callout out to have it always render on top of sibling elements. Fixes STCOM-1217.
* Make `<SearchField>` support input and textarea as an input field. Refs STCOM-1220.
* Add support for new match option `containsAll` in `<AdvancedSearch>`. Refs STCOM-1223.
* Ensure CSS visibility of datepicker's year input number spinner. Refs STCOM-1225.

## [12.0.0](https://github.com/folio-org/stripes-components/tree/v12.0.0) (2023-10-11)
[Full Changelog](https://github.com/folio-org/stripes-components/compare/v11.0.0...v12.0.0)
Expand Down
5 changes: 5 additions & 0 deletions lib/Datepicker/Calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
width: 8em;
}

input[type="number"].yearInput::-webkit-inner-spin-button {
appearance: initial;
opacity: 1;
}

.daysOfWeek {
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit 95268dd

Please sign in to comment.