ListView CSS Issue with file field

Open
#8,960 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
css, react, typescript
Domain
frontend

Research direction

Reproduce the issue in the Admin UI List View by adding a file field to a List and using long filenames, especially names containing spaces. Inspect the file-name div container and its 24px width behavior. Done means long filenames remain readable without overlapping, and the List View still displays file fields correctly.

Written by the indexing model from the issue text.

Description

  1. Create a file field in a List
  2. Make this file field available in the Admin UI List View of this List
  3. Use files which are long and maybe even have a space

The name of the file should be readable and not overlapping

This is standard behavior
grafik

If I remove the width attribute with is set to 24px of the file name div container it works nicely. See:
grafik

Node Version 20.9
Keystone 6 5.7.0

Dominant language
TypeScript
Stars
10k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from keystonejs/keystone

All issues in keystonejs/keystone

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.