commercetools / commercetools-docs-kit

Tools and components for developing Documentation websites 🛠
https://docs-kit.commercetools.vercel.app
MIT License
18 stars 5 forks source link

Fix: code block language wrapping #2053

Closed timonrey closed 3 months ago

timonrey commented 3 months ago

Description of changes The code block component was adjusted to fix an issue with the code block language when the title of the code block is too long. We basically no longer allow line breaks for the language.

Link original ticket closes #1809

Screenshot of changes (if applicable)

Screenshot 2024-08-19 at 09 17 34

Link to the example in the docs: https://docskit-tt-fix-code-block-language-wrapping.commercetools.vercel.app/docs-smoke-test/components/code-blocks

DoD guidelines

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 450ebec0f09f124431bc3a289f413a089f59e362

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages | Name | Type | | ----------------------------------------------- | ----- | | @commercetools-docs/ui-kit | Patch | | @commercetools-docs/gatsby-theme-api-docs | Patch | | @commercetools-docs/gatsby-theme-code-examples | Patch | | @commercetools-docs/gatsby-theme-constants | Patch | | @commercetools-docs/gatsby-theme-docs | Patch | | @commercetools-website/docs-smoke-test | Patch | | @commercetools-website/self-learning-smoke-test | Patch | | @commercetools-website/api-docs-smoke-test | Patch | | @commercetools-website/documentation | Patch | | @commercetools-website/site-template | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 months ago

🚚 Build Process Details

Preview URLs:

FFawzy commented 3 months ago

@timonrey please follow the DoD and fill out the PR description Thanks