Right now it looks like the admin stylesheets are loading even when the module isn't accessible (for anonymous users or those without permissions). This causes a problem and is messing up some css styles. For example, this is an especially problematic piece of code to have active when it's not in use for inline editing:
starting at about line 20 of admin_toolbar.css:

div.block, div.node, div.view, div.view-data-node-body {
position:relative;
}
div.block div.view {
position:static;
}

As you can imagine, this causes havoc with layouts when enabled. It seems that these stylesheets should only load when the admin module is being used.

CommentFileSizeAuthor
#3 admin-527708.patch689 bytesdawehner
#1 admin-527708.patch689 bytesdawehner

Comments

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new689 bytes

i just wrote a patch which wraps the addition of the css and js for only the people which has access to "admin menu".

kiphaas7’s picture

Great patch, but there's just one tiiiiiny weeny bit wrong...

Don' do -> Don't do typo in your comment.

dawehner’s picture

StatusFileSize
new689 bytes

ups :)

Here is a updated patch.

yhahn’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.