sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.2k stars 420 forks source link

InsertMenu UI Optimazation #7058

Open michael-land opened 3 months ago

michael-land commented 3 months ago

If you find a security vulnerability, do NOT open an issue. Email security@sanity.io instead.

Describe the bug

The InsertMenu grid mode UI looks weird when the text is long.

To Reproduce

setup a array field with insert menu

Expected behavior

Better UX

Screenshots CleanShot 2024-07-02 at 16 13 18@2x

If applicable, add screenshots to help explain your problem.

Which versions of Sanity are you using?

@sanity/cli (global) 3.48.1 (up to date) @sanity/code-input 4.1.4 (up to date) @sanity/color-input 3.1.1 (up to date) @sanity/dashboard 3.1.6 (up to date) @sanity/document-internationalization 3.0.0 (up to date) @sanity/eslint-config-studio 4.0.0 (up to date) @sanity/language-filter 4.0.2 (up to date) @sanity/types 3.48.1 (up to date) @sanity/ui 2.6.1 (up to date) @sanity/util 3.48.1 (up to date) @sanity/vision 3.48.1 (up to date) sanity 3.48.1 (up to date)

What operating system are you using?

MacOS

Which versions of Node.js / npm are you running?

❯ pnpm -v && node -v
8.15.1 v20.11.0

jordanl17 commented 3 months ago

Hi @michael-land, thank you for reporting and all the details added.

We can reproduce it internally and the bug has been added to triage, we will keep this issue updated once it's fixed.