From 6466684edefdb07743ae17ee81cdb84c24b13ce2 Mon Sep 17 00:00:00 2001 From: Jessica Rynkar <67977755+jessrynkar@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:41:42 +0100 Subject: [PATCH] docs: fix formatting in custom components > edit view paragraph (#12697) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes bad formatting on docs page: https://payloadcms.com/docs/custom-components/edit-view ![Screenshot 2025-06-05 at 5 35 43 PM](https://github.com/user-attachments/assets/49eb813e-344f-49db-9d06-84ad1f2e1553) --- docs/custom-components/edit-view.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/custom-components/edit-view.mdx b/docs/custom-components/edit-view.mdx index 1702313d2c..92a4e3a778 100644 --- a/docs/custom-components/edit-view.mdx +++ b/docs/custom-components/edit-view.mdx @@ -340,12 +340,12 @@ export const EditMenuItems = (props: EditViewMenuItemClientProps) => { ``` - **Styling:** Use Payload's built-in PopupList.Button to - ensure your menu items automatically match the default dropdown styles. If you - want a different look, you can customize the appearance by passing your own{' '} - className to PopupList.Button, or use a completely - custom button built with a standard HTML <button> element - or any other component that fits your design preferences. + **Styling:** Use Payload's built-in `PopupList.Button` to ensure your menu + items automatically match the default dropdown styles. If you want a different + look, you can customize the appearance by passing your own `className` to + `PopupList.Button`, or use a completely custom button built with a standard + HTML `button` element or any other component that fits your design + preferences. ### SaveDraftButton