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

Jack-mobile-responsiveness #220

Merged
merged 8 commits into from
Jul 12, 2023
Merged

Jack-mobile-responsiveness #220

merged 8 commits into from
Jul 12, 2023

Conversation

jackburrus
Copy link
Contributor

@jackburrus jackburrus commented Jul 12, 2023

Before:
Before
After:
After

@vercel
Copy link

vercel bot commented Jul 12, 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 Jul 12, 2023 3:44pm
hyperdrive-monorepo-hyperdrive-trading ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 12, 2023 3:44pm

@jackburrus jackburrus requested a review from DannyDelott July 12, 2023 14:24
Copy link
Member

@ryangoree ryangoree left a comment

Choose a reason for hiding this comment

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

🚀

@@ -3,7 +3,7 @@ import { Disclosure } from "src/ui/base/components/Disclosure/Disclosure";

export function FAQ(): ReactElement {
return (
<div className="flex flex-col gap-6 pb-12">
<div className="flex flex-col gap-6 px-4 pb-12">
Copy link
Member

Choose a reason for hiding this comment

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

The px-4 here will shrink the width on the container at full width too. Rather than horiz spacing on the children, we should probably put padding on on the page container.

@@ -21,7 +21,7 @@ export function ClosedLongsTable({
return (
<SortableGridTable
headingRowClassName="grid-cols-5 text-neutral-content"
bodyRowClassName="grid-cols-5 text-base-content items-center text-h6 even:bg-secondary/5 h-16"
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16 mx-2"
Copy link
Member

Choose a reason for hiding this comment

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

Same comment here about horiz spacing. We can remove the mx-2 class.

headingRowClassName="grid-cols-4 text-neutral-content"
bodyRowClassName="grid-cols-4 text-base-content items-center text-h6 even:bg-secondary/5 h-16"
headingRowClassName="grid-cols-4 text-start text-neutral-content mx-2"
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16 mx-2"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16 mx-2"
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16"

headingRowClassName="grid-cols-4 text-neutral-content"
bodyRowClassName="grid-cols-4 text-base-content items-center text-h6 even:bg-accent/5 h-16"
headingRowClassName="grid-cols-4 text-neutral-content mx-2"
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16 mx-2"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16 mx-2"
bodyRowClassName="grid-cols-4 text-base-content items-center text-sm md:text-h6 even:bg-secondary/5 h-16"

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