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

Styling #301

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Styling #301

wants to merge 2 commits into from

Conversation

0xfirefist
Copy link
Contributor

Some style updates to make site consistent with pyth-web

  • remove rounding border
  • style buttons

Copy link

vercel bot commented Dec 11, 2023

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

Name Status Preview Comments Updated (UTC)
staking ✅ Ready (Inspect) Visit Preview 💬 5 unresolved Dec 12, 2023 10:23am
staking-devnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2023 10:23am

@@ -294,10 +296,14 @@ function LockedModalButton({
}
className="m-4"
>
Unstake all
<span className="relative inline-flex items-center whitespace-nowrap">
Copy link
Contributor

Choose a reason for hiding this comment

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

<span className="relative inline-flex items-center whitespace-nowrap"> could be refactored I guess

@@ -46,7 +46,7 @@ const Header = () => {
</Link>
</div>
<div className="flex items-center justify-end space-x-2">
<div className="flex w-[200px] justify-end">
<div className="solana-wallet-button flex w-[200px] justify-end [&_button]:!rounded-none">
Copy link
Contributor

Choose a reason for hiding this comment

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

Why !rounded_none, I'm curious

Copy link
Contributor

Choose a reason for hiding this comment

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

LOL seems like it's to give more priority to the style and override another rule

Copy link
Contributor

Choose a reason for hiding this comment

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

lets not do it this way, this is not very friendly to future maintainers, we can just override the solana-wallet-button class in globals.css

Copy link
Contributor

@guibescos guibescos left a comment

Choose a reason for hiding this comment

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

CI and Vercel comments. I don't know about removing the rounding, let's see what @cctdaniel thinks.

Copy link
Contributor

@cctdaniel cctdaniel left a comment

Choose a reason for hiding this comment

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

left some comments on vercel, would appreciate it if you can create a new PR to make it optimized for mobile as well

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