Active
Project:
Model Entities
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2012 at 10:08 UTC
Updated:
21 Aug 2012 at 16:19 UTC
I just don't know how to get rid of it, and failed with a lot tries.

| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot at 2012-03-28 18:07:40.png | 20.19 KB | rogical |
Comments
Comment #1
liad commentedI do not have a solution but I have pinpointed the problem.
/**
* Implements hook_views_default_views().
*/
function model_views_default_views() {
/* Display: Page */
$handler = $view->new_display('page', 'Page', 'models_admin_page');
$handler->display->display_options['path'] = 'admin/content/models/list';
//////////////////////////////////////////////////////////////////////////////// TODO //
$handler->display->display_options['menu']['type'] = 'tab';
//$handler->display->display_options['menu']['type'] = 'default tab';
//////////////////////////////////////////////////////////////////////////////// TODO //
$handler->display->display_options['menu']['title'] = 'List';
$handler->display->display_options['menu']['weight'] = '-10';
return $views;
}
Change `default tab` to `default`, then you will notice that the white area disappears.
REMARK: Setting the type to `tab` instead off `default tab` will break some functionaly in the menu paths.
===========
I am running the admin_menu module and I have changed:
body.admin-menu {
//margin-top: 20px !important; /* TODO */
margin-top: 0px; /* TODO */
}
in file `/modules/contrib/admin_menu/admin_menu.css`
The error is now gone. Be aware that this is not the real solution, the problem lies elsewhere. On the pages that work, the margin is also 20 so it is strange that this change makes it work.
I am just a newbie with limited knowledge!
Comment #2
netbek commented@liad Regarding the second issue about margins, see #1604950-14: Admin menu CSS causes horizontal scrollbar for a slightly more comprehensive patch.
Comment #3
netbek commented@liad And regarding the first issue about the administration menu disappearing, at /admin/config/administration/admin_menu try turning on "Keep menu at top of page". Works for me with the admin_menu-7.x-3.0-rc3 without making changes and breaking some things as you indicated. The workbench module has the same problem.