how to change width of list rows in django admin

188 views Asked by At

I'm using Django Grappelli for my Django admin theme, it works great but when I open a list of objects inside some modules it only takes about 25% of the width of the screen. check the screenshot

enter image description here

what ti need is to make it 100% width and remove this unused space

1

There are 1 answers

0
Yevgeniy Kosmak On

It's not 25%, it's width: auto.

Just add to your .css file, used in admin:

.result-list > table {
    width: 100%;
}

Before: enter image description here

After: enter image description here