Skip to content

Conversation

@fairlighteth
Copy link
Contributor

@fairlighteth fairlighteth commented Oct 22, 2025

Summary

Refines approval amount modal/toggle styling for better spacing, responsiveness, and clearer hover states.

Screen.Recording.2025-10-22.at.16.12.08.mov
Screenshot 2025-10-22 at 16 09 40 Screenshot 2025-10-22 at 16 09 32 Screenshot 2025-10-22 at 16 09 23 Screenshot 2025-10-22 at 16 25 55

To Test

  1. Trigger the Change Approval Amount modal from a token approval flow.
  • Modal header + token preview align centrally with new spacing.
  • Set title scales down correctly on small breakpoints.
  • Reset button shows the updated hover background/text color.
  1. Toggle between partial and full approval options.
  • Toggle wraps vertically on tiny screens without clipping.
  • Partial approval pill shows hover color transition and readable edit icon.
  • Token amount row wraps when the amount is long.

Background

Tweaks aimed at polishing the approval experience ahead of design review.

@vercel
Copy link

vercel bot commented Oct 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
cowfi Ready Ready Preview Oct 23, 2025 4:38pm
explorer-dev Ready Ready Preview Oct 23, 2025 4:38pm
swap-dev Canceled Canceled Oct 23, 2025 4:38pm
widget-configurator Ready Ready Preview Oct 23, 2025 4:38pm
2 Skipped Deployments
Project Deployment Preview Updated (UTC)
cosmos Ignored Ignored Oct 23, 2025 4:38pm
sdk-tools Ignored Ignored Preview Oct 23, 2025 4:38pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 22, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/safe-partial-approval-ui

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@elena-zh elena-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants