Skip to content

ux: Always show form buttons but disable when empty #108

@O2sa

Description

@O2sa

To prevent the layout from shifting and improve discoverability, the 'Reset' and 'Swap' buttons should always be visible but disabled if there is no data.

Tasks

  • Open compare-form.tsx.
  • Ensure buttons are always rendered.
  • Add disabled logic based on whether inputs are empty.
  • Style the disabled state (like the submit button).

Note

CONTRIBUTIONS ARE WELCOME!
If you want to get this issue assigned to you. Just comment assign me. You will be assigned to the issue instantly via GitHub-actions bot.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions