0

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

Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116

1 Answers1

0

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

Yevgeniy Kosmak
  • 3,561
  • 2
  • 10
  • 26