Image attachments with long filenames cause horizontal scroll in table #11044

Open
opened 2025-12-29 21:39:33 +01:00 by adam · 1 comment
Owner

Originally created by @ChrisRecioHive on GitHub (Apr 16, 2025).

NetBox version

v4.2.7

Feature type

Change to existing functionality

Proposed functionality

When attaching an image with a long filename, don't expand the width of the table to show the entire filename using a horizontal scroll to compensate.

Display only what fits in the tables standard dimensions without having to use a horizontal scroll or wrap the filename to a 2nd line.

Use case

It would make the table slightly more usable, negating the need to use the horizontal scroll to edit / delete images.

Image

Database changes

N/A

External dependencies

N/A

Originally created by @ChrisRecioHive on GitHub (Apr 16, 2025). ### NetBox version v4.2.7 ### Feature type Change to existing functionality ### Proposed functionality When attaching an image with a long filename, don't expand the width of the table to show the entire filename using a horizontal scroll to compensate. Display only what fits in the tables standard dimensions without having to use a horizontal scroll or wrap the filename to a 2nd line. ### Use case It would make the table slightly more usable, negating the need to use the horizontal scroll to edit / delete images. ![Image](https://github.com/user-attachments/assets/e5a30bd7-d21d-400e-a3f7-c9271eafc76a) ### Database changes N/A ### External dependencies N/A
adam added the type: featurenetboxstatus: backlogcomplexity: low labels 2025-12-29 21:39:34 +01:00
Author
Owner

@arthanson commented on GitHub (Apr 17, 2025):

I don't think we could 'fit' it for standard dimensions, but should be able to make it wrap on multiple lines using word-break: break-all;

@arthanson commented on GitHub (Apr 17, 2025): I don't think we could 'fit' it for standard dimensions, but should be able to make it wrap on multiple lines using word-break: break-all;
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11044