Skip to content

Commit

Permalink
Make phones not zoom in on selects
Browse files Browse the repository at this point in the history
  • Loading branch information
limbero committed Mar 11, 2024
1 parent 6ce333c commit 217aea8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ function App() {
defaultValue={preSelectedMonth}
onChange={(e) => { setStartMonth(Number(e.value)); }}
options={monthsOptions}
styles={{ input: (baseStyles, state) => ({ ...baseStyles, fontSize: "16px" }) }}
/>
</div>
</Flex>
Expand All @@ -304,6 +305,7 @@ function App() {
defaultValue={preSelectedCountry}
onChange={(e) => { setCountry(e.value); setSubdivision(null); }}
options={countriesOptions}
styles={{ input: (baseStyles, state) => ({ ...baseStyles, fontSize: "16px" }) }}
/>
</div>
{
Expand All @@ -313,6 +315,7 @@ function App() {
defaultValue={preSelectedSubdivision}
onChange={(e) => { setSubdivision(e.value) }}
options={subdivisionsOptions}
styles={{ input: (baseStyles, state) => ({ ...baseStyles, fontSize: "16px" }) }}
/>
</div>
) : null
Expand Down

0 comments on commit 217aea8

Please sign in to comment.