Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix OfferCreate price visual #841

Merged
merged 8 commits into from
Oct 2, 2023
Merged

fix: fix OfferCreate price visual #841

merged 8 commits into from
Oct 2, 2023

Conversation

mvadari
Copy link
Collaborator

@mvadari mvadari commented Sep 27, 2023

High Level Overview of Change

This PR fixes an issue where prices showed up weirdly on the OfferCreate price currency pair.

Context of Change

Noticed while working on #839

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

TypeScript/Hooks Update

N/A

Before / After

Before

image image

After

image image

Test Plan

Works locally.

@ckniffen
Copy link
Collaborator

ckniffen commented Oct 2, 2023

Looks like there is an extra space between the / and the next pair.

@mvadari
Copy link
Collaborator Author

mvadari commented Oct 2, 2023

Looks like there is an extra space between the / and the next pair.

Yeah, I'm not sure where that came from/how to get rid of it.

Copy link
Contributor

@jonathanlei jonathanlei left a comment

Choose a reason for hiding this comment

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

LGTM

@ckniffen ckniffen merged commit e42ce57 into staging Oct 2, 2023
4 checks passed
@ckniffen ckniffen deleted the offercreate-currency branch October 2, 2023 23:03
mvadari added a commit that referenced this pull request Oct 3, 2023
## High Level Overview of Change

The bottom margin in the Price row in Simple was too much, and there was
extra spacing between the currency pair in the TableDetail. This PR
fixes those issues.

### Context of Change

Follow up from #841 

### Type of Change

- [x] Bug fix (non-breaking change which fixes an issue)

### TypeScript/Hooks Update

N/A

## Before / After

### Before
<img width="762" alt="image"
src="https://github.com/ripple/explorer/assets/8029314/41727f1b-730e-49de-9c81-e3186b1bb298">
<img width="494" alt="image"
src="https://github.com/ripple/explorer/assets/8029314/dbebdb45-7262-41a7-8097-bf0241d366fe">

### After
<img width="762" alt="image"
src="https://github.com/ripple/explorer/assets/8029314/e51aa619-e742-4c82-a317-32e0499b37c0">
<img width="494" alt="image"
src="https://github.com/ripple/explorer/assets/8029314/918989ff-e676-4618-b0c5-87d688a075f4">

## Test Plan

Works locally.
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.

None yet

3 participants