The hook hook_toolbar was updated in #1847198-73: Update the structure returned by hook_toolbar().

With these changes, we can finally improve the design of the Edit mode toggle. Here is a screenshot with the updated toggle indicated by an arrow.

Screenshot of the updated Edit mode toggle design. The toggle is now floated to the right instead of the left.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jessebeach’s picture

This patch floats the edit toolbar tab to the right.

It also removes some dead JavaScript and CSS code dealing with trays that was required by hook_toolbar's previous structure.

Screenshot of the toolbar showing the Edit tab floated to the right. It is flush with the right edge of the screen.

Gábor Hojtsy’s picture

Status: Active » Reviewed & tested by the community

Looks good to me as a small next step :)

Wim Leers’s picture

Manually tested, works perfectly. RTBC +1

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Rock! Committed and pushed to 8.x.

Btw, I know this looks like an Acquia pig-pile atm ;), but this design direction has been discussed elsewhere as a good thing to do, since it's not a navigation element like everything else on the LH side.

Bojhan’s picture

Yup, I think this was suggested in a very early review a long time ago. So +1.

Status: Fixed » Closed (fixed)

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

Wim Leers’s picture

Issue tags: +Spark

.