Monorepo for Tangled โ€” https://tangled.org

appview: pages/templates/repo: fix styling for file tree items #433

merged
opened by safwanyp.com targeting master from safwanyp.com/core: repo-tree-styling-fix
0
by safwanyp.com 2 comments
expand 1 commit
appview: pages/templates/repo: fix styling for file tree items

Forgot to add a description.

changes:

  • truncated file names using tailwind's truncate utilityy class. had to wrap the file name in a span for this since I've never used template tooling for building UIs ๐Ÿ˜…
  • added a flex-shrink-0 to the icon to maintian their size when the names get too long.

before: long file names could overflow, and icons would get compressed/smaller. after: names are truncated with ellipsis, and icons are sized consistently

thanks for the contributon!

pull request successfully merged
sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:btuuzzykwikv5aa3nl434f6b/sh.tangled.repo.pull/3lvyxqtnqdh22