sanity-io / sanity

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

Dashboard BUG - Safari #3994

Open HaraldSigvartsen opened 1 year ago

HaraldSigvartsen commented 1 year ago

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

The dashboard plugin has a wierd visual bug where the documentListWidget gets suuuuper long. even with layout: {width: 'small', height: 'small'},

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

Pretty normal dashboard with the dashboard plugin!

dashboardTool({ widgets: [ documentListWidget({ title: 'Tools', layout: {width: 'small', height: 'small'}, showCreateButton: true, types: ['tools'], limit: 5, createButtonText: 'Add a new Tool here', }), documentListWidget({ title: 'Collections', layout: {width: 'small', height: 'small'}, showCreateButton: true, types: ['collections'], createButtonText: 'Add a new Collection here', }), vercelWidget(), ], }),

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Which versions of Sanity are you using?

Run sanity versions in the terminal and copy-paste the result here. Compressed video file of the bug. First browser is Safari then i change to Google Chrome. Screen Recording 2022-12-16 at 20.00.52.zip

What operating system are you using? MacOS

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

HaraldSigvartsen commented 1 year ago
Screenshot 2022-12-19 at 20 44 08

This image is on Google Chrome. Dont know if this is in purpose or not. With the grey background