-
Notifications
You must be signed in to change notification settings - Fork 1
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
Changes from 7 commits
51b26d7
ed1c7bc
81bce17
21e7e40
9c0bd9f
e5db6ea
57e8f0f
b4d8c24
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment here about horiz spacing. We can remove the |
||
cols={["Position", "Balance", "Value", "Matures on", "Closed on"]} | ||
rows={closedLongRows} | ||
/> | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -21,8 +21,8 @@ export function OpenLongsTable({ | |||||
|
||||||
return ( | ||||||
<SortableGridTable | ||||||
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" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
// Blank col added for actions | ||||||
cols={["Position", "Balance", "Value", "Matures on", ""]} | ||||||
rows={openLongRows} | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -21,8 +21,8 @@ export function OpenShortsTable({ | |||||
|
||||||
return ( | ||||||
<SortableGridTable | ||||||
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" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
// Blank col added for actions | ||||||
cols={["Position", "Balance", "Value", "Matures on", ""]} | ||||||
rows={openShortRows} | ||||||
|
There was a problem hiding this comment.
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.