Skip to content

Make the sidenav section sticky and scrollable. Also support hot-discussions widget.

License

Notifications You must be signed in to change notification settings

ECNU-Forum/sticky-sidenav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sticky Sidenav

License Latest Stable Version Total Downloads

A Flarum extension. Make the sidenav section sticky and scrollable. Also support hot-discussions widget.

Motivation

Usually when we make the sidenav section sticky, we have to scroll to the bottom of the page to view the tags that are not shown in the first place. This extension resolves the problem by making the sidenav scrollable, which can be useful when using the AutoMore extension.

Scrollbar

The scrollbar will appear only if there are too many tags AND the mouse is hovering above the sidenav. Example:

example

Installation

Install with composer:

composer require ecnu-im/sticky-sidenav

Updating

composer update ecnu-im/sticky-sidenav
php flarum migrate
php flarum cache:clear

Links

About

Make the sidenav section sticky and scrollable. Also support hot-discussions widget.

Topics

Resources

License

Stars

Watchers

Forks