Closed skoriop closed 8 months ago
Oh and also 2 more changes:
sm
. The section should have a double-click handler to substitute for the functionality lost by not rendering that buttonThe X button does not appear on devices smaller than
sm
. The section should have a double-click handler to substitute for the functionality lost by not rendering that button.
Since the section already has a handleUnitClick
click handler, I think this can be handled by the function passed in by the parent component (which is also what was done in the old frontend).
Beyond this, I think I should probably mention this somewhere, so I'm mentioning it in this PR. The parent page should set vertical to true automatically on any screen that is smaller than that specified by tailwind's
lg
size.