-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-source-contentful): Calculate fixed image width if only height supplied #24393
Conversation
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.
Looks good to me. Thanks for the work :)
* Previously scrolling or swiping inside the navigation sidebar could result in main content moving. Fixed for most browsers with overflow-behavior: contain Resolves #24255 Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
No problemo @axe312ger. Any idea why the tests are failing/hanging? They look very unrelated to these changes. |
* Add Sourcing from Flotiq documentation entry * fix whitespace * prettier * fix prettier, again * add headless-cms table entry * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> * `Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Apply suggestions from code review Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * fix improper API key reference * Update docs/docs/sourcing-from-flotiq.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * add blogpost template * simplify blog-post template * add full gatsby-node.js example * Apply suggestions from code review Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * prettier, update img alt attribute * remove empty paragraph * add dotenv to gatsby-config example Co-authored-by: Andrzej WP <andrzej@codewave.pl> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
* Close #24479 * chore: format * Update docs/docs/how-gatsby-works-with-github-pages.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/how-gatsby-works-with-github-pages.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/how-gatsby-works-with-github-pages.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/how-gatsby-works-with-github-pages.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> * Update docs/docs/how-gatsby-works-with-github-pages.md Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
* Add Gatsby Cloud subsection * 'Gatsby.js' → 'Gatsby' * Add more benefits of Gatsby Cloud * Use straight quotes instead of curly * Address requested changes Github → GitHub, add 'shell' to code blocks, relative URLs, make Gatsby Cloud H3 level * Make Gatsby Cloud H3 level Co-authored-by: Aisha Blake <aisha.g.blake@gmail.com> Co-authored-by: Aisha Blake <aisha.g.blake@gmail.com>
* feat(recipes): add gitlab-ci-cd recipe to cli list * Update packages/gatsby-recipes/src/cli.js Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: Muescha <184316+muescha@users.noreply.github.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
* feat(recipes): add github pages deployement with travis * Update travis-deploy-github-pages.mdx * review * Tweak wording * Update cli.js Co-authored-by: Kyle Mathews <mathews.kyle@gmail.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
* updating content and screenshots * Fix linting Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
…25078) * convert ImagePlaceholder used in guidelines to theme-ui * update * update * combining imports
* Add WebAIM Million announcement Gatsby is most accessible framework * create frontmatter for WebAIM blog post * Update index.md * Update index.md * chore: format * fix typo * Update index.md Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>
Co-authored-by: Laurie Barth <laurie@LauriesrkLaptop.fios-router.home>
* Add explanation of Site.siteMetadata field * chore: format Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
* chore(showcase): Add erp.laputan.com.au * fix category for dangerbot * update title for dangerbot Co-authored-by: Marcy Sutton <marcy@gatsbyjs.com>
I know it's nitpicky, but just wanted to make it follow the Sass brand guidelines. 😄
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
…gatsby internals (#25236)
* use gatsby-plugin-react-svg for icons * use elements instead of component names * update asset imports * v2 icon * featured-sites * add thingy * svg
…#25112) * set mimeTypes extension for Mdx type definition * whoops
…ill in other schema typings (#25113) * Add mimeTypes and other directives to fill in files * add placeholder type
* convert BoxWithBorder to theme-ui * update the border css rules
* chore(www): Tidy `space`, `color`, fix `:hover` * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage * chore(www): Use `sidebarItemMinHeight` token * fix(www): `TitleButton` indention, padding-right This is currently not in use so will leave it alone, but this thing's height and `hover`, `active` states are also off a little. * chore(www): Tidy `space` token value usage * chore(www): Tidy `space` token value usage Not really in use either, but let's fix the "pull in page margin" thing.
* refactor pullquote component * Fix sizes * Simplify styles for cross axis * Add some documentation on the pullquote
* chore(www): Refactor to `sx` * rm `@emotion/styled` * newlines, more concise, fix a d'oh not bored enough for responsive array things tho ;) * OK, bored enough 🤔 * lol * time for breakfast * inline styles 😛 null, null, null, null
* chore(www): Refactor to `sx` * newlines * 🙄 * 🙃 * 💩 * combine imports * rm className, spread love * 🙀 * mv inline * 🤡
…byjs/gatsby into fix-gatsby-source-contentful-srcSet
@mrseanbaines Hey Sean, why did you close this? Did you have issues rebasing on master? |
@axe312ger I'm not sure what happened but I somehow ended up with hundreds of commits worth of changes 😄. I'll fix this and reopen when I get a sec. |
Description
Fixes an issue where
gatsby-source-contentful
returns emptysrcSet
andsrcSetWebp
when queryingfixed
images with onlyheight
argument.Before:
After:
Related Issues
Fixes #24392