Refactoring Default textarea size #71
Labels
good first issue
Good for newcomers
hacktoberfest
Hacktoberfest is a yearly developer festival where the participation in Open Source is appreciated
help wanted
Extra attention is needed
refactoring
Type of Change
Description
Currently, the left textarea has
rows
set to2
. This is done so it looks nice on desktop but because we are moving to mobile this behavior should change a bit. See how the size of the red arrows is different in the picture below.The problem with the screenshot above is that the lower box would be 1 row high when the upper one would be 2 rows high. For desktop, the minimum row should be 2 though. Otherwise, that looks weird.
After a bit of investigating I could not find a CSS-Native solution with the rows attribute of
<textarea>
, so we are forced to usemin-height
and media queries.Code Before
Code Expected after Refactoring
Files involved
./src/index.tsx
The text was updated successfully, but these errors were encountered: