golioth / docs

Creative Commons Attribution Share Alike 4.0 International
6 stars 11 forks source link

Show "Use this pipeline" button in title pane of code block #389

Closed szczys closed 5 months ago

szczys commented 5 months ago

This customizes the CodeBlock title pane to show the "Use this pipeline" button floated right of the title for desktop view and below the title (float left) for mobile view.

The CodeBlock/Content component needed to be swizzled to make this change. This may call for updates if the CodeBlock component has upstream changes in future updates.

github-actions[bot] commented 5 months ago

Visit the preview URL for this PR (updated for commit 24d47f2):

https://golioth-docs-dev--pr389-szczys-swizzle-codeb-vc7k87df.web.app

(expires Tue, 25 Jun 2024 02:52:32 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f53b02bdc98ce6f5593931ec4c339aa96bac84df