-
Notifications
You must be signed in to change notification settings - Fork 140
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
Conversation
], | ||
caption: html`<span style="font-size: 11px">52 week range` | ||
}); | ||
return html`<div class="card"> |
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.
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.
src/style/grid.css
Outdated
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.
This fixes some bugs with the responsive grid. Still want to switch to Tailwind at some point…
src/client/stdlib/resize.ts
Outdated
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.
This makes it so that you can have a resizable element within a card, rather than occupying the entire card.
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.
🪄
I aligned the layout to show more on the page and… be a bit prettier. 🙂