go-admin icon indicating copy to clipboard operation
go-admin copied to clipboard

[Question] How to horizontal scroll wide Tables in Info Panel

Open justfish09 opened this issue 2 years ago • 2 comments

Description [describe your questions]

I have a very wide table with many fields. Since upgrading to the latest version (.23->.24) my tables do not have the horizontal scroll anymore and the table is cut off. Perhaps I missed a new config?

Example code [If you have any code info]

Others [screenshots or other info]

👇 cut off columns below:

Screenshot 2023-01-16 at 18 10 10

justfish09 avatar Jan 16 '23 18:01 justfish09

I've been adding custom html to the head to address this in certain areas of my app similar to this:

#pjax-container > section.content > div > div > div.box-body > table {
    min-width: 100px !important;
}

#pjax-container > section.content > div > div > div.box-body {
    overflow-x: auto;
}

thenick775 avatar Apr 17 '23 23:04 thenick775