A local-first personal finance app
:bug: custom select width and scrollbars (#1294)
Matiss Janis Aboltinsbd125d291535
diff --git a/packages/desktop-client/src/components/common/CustomSelect.tsx b/packages/desktop-client/src/components/common/CustomSelect.tsxindex 7114057fc5..cafc24f4f5 100644--- a/packages/desktop-client/src/components/common/CustomSelect.tsx+++ b/packages/desktop-client/src/components/common/CustomSelect.tsx@@ -35,7 +35,7 @@ export default function CustomSelect({arrow={<ExpandArrow style={{ width: 7, height: 7, paddingTop: 3 }} />}/><ListboxPopover style={{ zIndex: 10000, outline: 0, borderRadius: 4 }}>- <ListboxList>+ <ListboxList style={{ maxHeight: 250, overflowY: 'scroll' }}>{options.map(([value, label]) => (<ListboxOptionkey={value}diff --git a/packages/desktop-client/src/components/reports/Header.js b/packages/desktop-client/src/components/reports/Header.jsindex dd566622eb..25f7da7612 100644--- a/packages/desktop-client/src/components/reports/Header.js+++ b/packages/desktop-client/src/components/reports/Header.js@@ -91,7 +91,7 @@ function Header({}}><CustomSelect- style={{ backgroundColor: 'white', width: 130 }}+ style={{ backgroundColor: 'white' }}onChange={newValue =>onChangeDates(...validateStart(allMonths, newValue, end))}@@ -100,7 +100,7 @@ function Header({/><View>to</View><CustomSelect- style={{ backgroundColor: 'white', width: 130 }}+ style={{ backgroundColor: 'white' }}onChange={newValue =>onChangeDates(...validateEnd(allMonths, start, newValue))}diff --git a/upcoming-release-notes/1294.md b/upcoming-release-notes/1294.mdnew file mode 100644index 0000000000..fec57a168e--- /dev/null+++ b/upcoming-release-notes/1294.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [MatissJanis, aleetsaiya]+---++Fix month picker responsiveness in reports page and make the select boxes scrollable