@ahsdile/canvas-lms-sticky-left-menu-plugin

Plugin for the Canvas LMS theme app that makes the left menu sticky when scrolling

Usage no npm install needed!

<script type="module">
  import ahsdileCanvasLmsStickyLeftMenuPlugin from 'https://cdn.skypack.dev/@ahsdile/canvas-lms-sticky-left-menu-plugin';
</script>

README

Canvas LMS Sticky Left Menu Plug-in

Plugin for the Canvas LMS theme app that makes the left menu stick to the top of the window when scrolling. This applies to the left menu inside courses, groups, admin settings, ... Technically, it's not really a plug-in because it only contains styles so it doesn't have to be added to the main app.

Installation

Using NPM:

npm install @ahsdile/canvas-lms-sticky-left-menu-plugin

Using Yarn:

yarn add @ahsdile/canvas-lms-sticky-left-menu-plugin

Usage

Just import the plug-in's CSS file:

import '@ahsdile/canvas-lms-sticky-left-menu-plugin/index.css';

Changes

Since version 0.4.0, The CSS file is no longer a CSS Module but a simple global CSS file. So don't use the modules: true setting in your Webpack config.