railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.88k stars 2.25k forks source link

restore full width for content #3493

Closed q3aiml closed 2 years ago

q3aiml commented 2 years ago

During the bootstrap 5 update in 6878670 (#3455) this class was changed from content to container. The container class, unlike content, has a max width of 1320px. Restore prior behavior of using the full width by using container-fluid to avoid wasted whitespace. This is especially useful on list pages with a large number of columns.

Before ![before non-full width image](https://user-images.githubusercontent.com/1438495/157766893-61665149-0045-4e56-b874-840da38c2ccb.png)
After ![after full width image](https://user-images.githubusercontent.com/1438495/157766871-99576d1a-9652-4ed3-bc7e-dc1c55eebbda.png)
Bootstrap 3 ![image](https://user-images.githubusercontent.com/1438495/157766924-9bc507a3-6387-4dfc-a542-0cc4a73a2e41.png)
mshibuya commented 2 years ago

Ah I didn't notice, thanks!