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

mortage example edits #785

Merged
merged 4 commits into from
Feb 14, 2024
Merged

mortage example edits #785

merged 4 commits into from
Feb 14, 2024

Conversation

mbostock
Copy link
Member

@mbostock mbostock commented Feb 14, 2024

I aligned the layout to show more on the page and… be a bit prettier. 🙂

Screenshot 2024-02-13 at 8 28 17 PM

@mbostock mbostock requested a review from Fil February 14, 2024 04:08
],
caption: html`<span style="font-size: 11px">52 week range`
});
return html`<div class="card">
Copy link
Member Author

@mbostock mbostock Feb 14, 2024

Choose a reason for hiding this comment

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

This didn’t work correctly because of the wrapper span. #11 In general we want to server-side render as much as we can, so I changed the card to be declared statically, and then render the contents as a fragment.

Copy link
Member Author

Choose a reason for hiding this comment

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

This fixes some bugs with the responsive grid. Still want to switch to Tailwind at some point…

Copy link
Member Author

Choose a reason for hiding this comment

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

This makes it so that you can have a resizable element within a card, rather than occupying the entire card.

Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

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

🪄

@Fil Fil merged commit 4a75582 into main Feb 14, 2024
2 checks passed
@Fil Fil deleted the mbostock/more-mortgage branch February 14, 2024 07:24
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

2 participants