Add min- and max-width breakpoints for detail pane

- added min- and max-width breakpoints for detail pane

https://www.openproject.org/work_packages/13691
@zzmedia i probably don't understand what's happening here, but isn't this repeating min-width?