Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Even if min-width is set to 960px, two sidebars are taking 470px of horizontal space. This leaves 490px for main content area which is not enough to accommodate some complex admin tables and forms.
This is a tough problem to solve, I see two potential solutions, but both of them will be major WTFs for users:
- don't show sidebars on admin pages
- increase min-width to 1200px on admin pages
Comment | File | Size | Author |
---|---|---|---|
#4 | admin.png | 145.67 KB | Jarek Foksa |
#3 | bartik.png | 167.59 KB | Jarek Foksa |
#3 | garland.png | 134.4 KB | Jarek Foksa |
#2 | current.png | 188.15 KB | Jarek Foksa |
#2 | full width.png | 178.41 KB | Jarek Foksa |
Comments
Comment #1
Jarek Foksa CreditAttribution: Jarek Foksa commentedComment #2
Jarek Foksa CreditAttribution: Jarek Foksa commentedHere is a screenshot that demonstrates this issue, it was also present before my layout changes. It's present in Garland on 1024x768 screens.
Setting layout width to whole available horizontal space does not solve the problem even on 1280x780 screen. So the only solution I can see is to hide sidebars on admin pages just like it's done in overlay.
This might look like a minor issue, but on IE6/7 columns will collapse if they contain elements that don't fit in.
Comment #3
Jarek Foksa CreditAttribution: Jarek Foksa commentedAnd screenshots from Bartik and Garland, the same issue.
Comment #4
Jarek Foksa CreditAttribution: Jarek Foksa commentedI decided to fix this issue by hiding sidebars on admin pages (together with other elements that are not shown in Seven). Here is the code:
Comment #6
nedjoComing from #834308: no regions on block admin.
Ideally this sort of issue would be left to admin themes. If users have problems on admin pages, they can install and enable an admin theme.
Some potential solutions:
* check admin theme and theme_default variables and, if corolla is not the default admin theme (or the default theme, and admin theme is set to use default), only then make css changes.
* make middle column
overflow:scroll;"
* do what's currently done, but don't load this css at admin/build/block.
Comment #7
Taxoman CreditAttribution: Taxoman commentedMostly agreeing with Nedjo in #6.
However, if this is only related to the *right* sidebar, how about displaying the blocks in the right sidebar below the left one on admin pages?
Comment #8
Taxoman CreditAttribution: Taxoman commentedAs this is easy for an admin to avoid, I dont think it deserves "critical" status, not even major.