This project is not covered by Drupal’s security advisory policy.

READ FIRST

Please see #3447257: Make the sidebar resizable for work to integrate the functionality of this module directly into Gin. Instead of using this module, please help testing on that issue.

Purpose

Allow users to resize the Gin sidebar on content edit forms.

Installation

Just enable the module and that's it. No configuration required.

Usage

On desktop:
Once enabled, a drag indicator will be shown when hovering with the mouse over the border between the sidebar and the rest of the content. Clicking and dragging will then resize the sidebar. The current size will be stored in the local storage and will be used to reset the sidebar to the chosen width whenever the sidebar opens.
Double clicking on the drag border will reset the sidebar to the original size set by Gin.

On mobile:
Touching on the border between the sidebar and the rest of the content highlights the border and moving the finger will then move the sidebar. When the touch action ends, the current size will be stored in the local storage and will be used to reset the sidebar to the chosen width whenever the sidebar opens.
There is no way of resetting the sidebar to the original size using touch actions yet.

Additional Requirements

This module obviously requires the Gin Admin Theme. If Gin is not enabled, this module will do nothing.

Project information

Releases