Skip to content
Snippets Groups Projects
Unverified Commit 45c06c23 authored by Matiss Janis Aboltins's avatar Matiss Janis Aboltins Committed by GitHub
Browse files

:bug: (autocomplete) set min-width of the autocomplete (#834)

Implement min-width for the autocomplete to make it look better on small
screens.


https://github.com/actualbudget/actual/issues/773#issuecomment-1482254636

<img width="304" alt="Screenshot 2023-03-31 at 19 02 06"
src="https://user-images.githubusercontent.com/886567/229195868-7d858f18-0c1a-4a9d-95be-5dd0e4aef92c.png">
parent 440093b3
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,7 @@ const colourStyles = { ...@@ -21,6 +21,7 @@ const colourStyles = {
menuPortal: styles => ({ menuPortal: styles => ({
...styles, ...styles,
zIndex: 5000, zIndex: 5000,
minWidth: 200,
}), }),
menu: (styles, { selectProps }) => ({ menu: (styles, { selectProps }) => ({
...styles, ...styles,
......
---
category: Enhancement
authors: [MatissJanis]
---
Autocomplete: set min-width of the menu
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment