Skip to content

Commit 6466684

Browse files
authored
docs: fix formatting in custom components > edit view paragraph (#12697)
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)
1 parent 7c05c77 commit 6466684

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/custom-components/edit-view.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ export const EditMenuItems = (props: EditViewMenuItemClientProps) => {
340340
```
341341

342342
<Banner type="info">
343-
**Styling:** Use Payload&apos;s built-in <code>PopupList.Button</code> to
344-
ensure your menu items automatically match the default dropdown styles. If you
345-
want a different look, you can customize the appearance by passing your own{' '}
346-
<code>className</code> to <code>PopupList.Button</code>, or use a completely
347-
custom button built with a standard HTML <code>&lt;button&gt;</code> element
348-
or any other component that fits your design preferences.
343+
**Styling:** Use Payload's built-in `PopupList.Button` to ensure your menu
344+
items automatically match the default dropdown styles. If you want a different
345+
look, you can customize the appearance by passing your own `className` to
346+
`PopupList.Button`, or use a completely custom button built with a standard
347+
HTML `button` element or any other component that fits your design
348+
preferences.
349349
</Banner>
350350

351351
### SaveDraftButton

0 commit comments

Comments
 (0)