XF 2.2 help changing attachment list layout pls

🔥Iggy🔥

Well-known member
hello,
ok ive just noticed 2 things which can easily be improved regarding the post attachment lists....

#1 when uploading many images to one post, for embedding, it lists a single horizontal list with a scrollbar...ugh
#2 if you edit that post, it converts to a single vertical list you have to scroll up and down to hunt the attachment you want to embed....

huge empty space not being used......why cant it just make a simple grid for crying in a bucket....

i made one change to test:

.attachUploadList {
display:flex;
}

which used to be block....if i do that it makes a horizontal line at least....when editing.....but it smashes them all together still in that one horizontal row.....idk how to get a proper grid of it, and flex only looks good if there arent ALOT of attachments....

should be simple fix but i can spin my wheels for hours on a code like this, help would be appreciated...

thank you
 
well i may found one improve to kill the horizontal scroll at least

.attachUploadList {
white-space:break-spaces;
}

not sure thats the best fix or not tho as it will apply to the vertical list problem as well...depending what that needs as a fix could work tho...
 
Top Bottom