From 7d0259632f0aa0858579309e36e76acc1fab3a8e Mon Sep 17 00:00:00 2001 From: Simon Hamp Date: Thu, 18 Jun 2026 13:36:32 +0100 Subject: [PATCH] Move Contributing into Getting Started and fix docs image width Move the mobile v3 Contributing page from its own section into the Getting Started section as the final item. Scope the README image grid layout to the plugin README container (prose-gallery) so docs and blog images render full-width again instead of being constrained to a grid cell. Co-Authored-By: Claude Opus 4.8 (1M context) --- resources/css/app.css | 4 ++-- resources/views/docs/mobile/3/contributing/_index.md | 4 ---- .../3/{contributing => getting-started}/contributing.md | 2 +- resources/views/plugin-show.blade.php | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 resources/views/docs/mobile/3/contributing/_index.md rename resources/views/docs/mobile/3/{contributing => getting-started}/contributing.md (99%) diff --git a/resources/css/app.css b/resources/css/app.css index 3965ac41..2046d534 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -270,11 +270,11 @@ nav.docs-navigation li:has(.third-tier .exact-active) > .subsection-header { @apply rounded-none shadow-none; } -.prose p:has(img) { +.prose-gallery p:has(img) { @apply grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3; } -.prose p:has(img) img { +.prose-gallery p:has(img) img { @apply inline-block max-w-full rounded-none shadow-none; } diff --git a/resources/views/docs/mobile/3/contributing/_index.md b/resources/views/docs/mobile/3/contributing/_index.md deleted file mode 100644 index 294b5e73..00000000 --- a/resources/views/docs/mobile/3/contributing/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Contributing -order: 70 ---- diff --git a/resources/views/docs/mobile/3/contributing/contributing.md b/resources/views/docs/mobile/3/getting-started/contributing.md similarity index 99% rename from resources/views/docs/mobile/3/contributing/contributing.md rename to resources/views/docs/mobile/3/getting-started/contributing.md index 8f82fd70..2a1f3e44 100644 --- a/resources/views/docs/mobile/3/contributing/contributing.md +++ b/resources/views/docs/mobile/3/getting-started/contributing.md @@ -1,6 +1,6 @@ --- title: Contributing -order: 1 +order: 700 --- ## Contributing diff --git a/resources/views/plugin-show.blade.php b/resources/views/plugin-show.blade.php index a2ca29c5..35d3633c 100644 --- a/resources/views/plugin-show.blade.php +++ b/resources/views/plugin-show.blade.php @@ -200,7 +200,7 @@ class="shrink-0 self-stretch px-3 text-zinc-400 hover:text-zinc-200" }) } " - class="prose min-w-0 max-w-none grow text-gray-600 prose-headings:scroll-mt-20 dark:text-gray-400 dark:prose-headings:text-white" + class="prose prose-gallery min-w-0 max-w-none grow text-gray-600 prose-headings:scroll-mt-20 dark:text-gray-400 dark:prose-headings:text-white" aria-labelledby="plugin-title" > @if ($plugin->readme_html)