Skip to content

Conversation

@DannyDelott
Copy link
Contributor

Refactors the token input to use daisy components so it matches the rest of the UI better.

Some examples of the input group:

Open long Close long
image image
Open short Close short
image image

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyperdrive-fixed-borrow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 5:07pm
hyperdrive-monorepo-hyperdrive-trading ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 5:07pm
hyperdrive-sdk-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 5:07pm

return (
<div className=" flex flex-col gap-y-2 rounded border border-neutral-content bg-base-100 p-4">
<div className="flex gap-x-4">
<div className="daisy-form-control flex-1">
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about removing the number increment buttons on this input? I always feel like they are distracting. Here's how you do it in tailwind:
https://stackoverflow.com/questions/71296535/how-to-remove-arrow-on-input-type-number-with-tailwind-css

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great idea

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.

3 participants