Score:0

Toolbar overlap on shortcut pages

ph flag

The admin toolbar uses JavaScript to apply padding to the top of pages using Drupal.toolbar.views.toolbarVisualView.updateToolbarHeight().

Unfortunately, it seems this doesn't run properly when you visit a page in the shortcuts menu and the toolbar overlaps the page header.

toolbar overlapping

If you run that function in the console, the page fixes itself.

Is there a fix for this behavior? Can I inject this JavaScript myself?

id flag
IIRC this is a well-known issue with that toolbar.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.