Skip to content

dApp: AcreTVLProgress component mask fix#895

Draft
kpyszkowski wants to merge 2 commits intomainfrom
tvl-component-mask-fix
Draft

dApp: AcreTVLProgress component mask fix#895
kpyszkowski wants to merge 2 commits intomainfrom
tvl-component-mask-fix

Conversation

@kpyszkowski
Copy link
Copy Markdown
Contributor

The AcreTVLProgress component was not responsive looking bad on mobile. This PR fixes it.
The only flaw are bottom rounded corners which are not very rounded on mobile. It's baked into the mask so it scales accordingly to the viewport - the smaller screen is, the smaller is the radius. It's unavoidable. Still looks better than before.

Before:
image

After:
image

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 22, 2024

Deploy Preview for acre-dapp-testnet ready!

Name Link
🔨 Latest commit 00a85e7
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp-testnet/deploys/6740a8e73e0fe50008551429
😎 Deploy Preview https://deploy-preview-895--acre-dapp-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 22, 2024

Deploy Preview for acre-dapp ready!

Name Link
🔨 Latest commit 00a85e7
🔍 Latest deploy log https://app.netlify.com/sites/acre-dapp/deploys/6740a8e7c58a7100084708c6
😎 Deploy Preview https://deploy-preview-895--acre-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
Contributor

@kkosiorowska kkosiorowska left a comment

Choose a reason for hiding this comment

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

I have tested solution on smaller screens and the TVL component doesn't always look good. See below:

Screen.Recording.2024-11-25.at.09.40.23.mov
Screenshot 2024-11-25 at 09 37 13

@kpyszkowski kpyszkowski marked this pull request as draft December 12, 2024 10:49
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.

2 participants