Skip to content

MagicMirror Module - Add static space between modules

Notifications You must be signed in to change notification settings

grabenhenrich/MMM-Space

Repository files navigation

Module: MMM-Space

The MMM-Space module is a third party module for the MagicMirror universe. This module displays a background-colored 'div' element to let you insert a static vertical space between other modules.

Screenshot

Doesn't make sense as it usually displays nothing (only when you specify a background color which is meant to see what you get while tinkering with the MagicMirror overall layout).

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: "MMM-Space",
		position: "top_left",	// This can be any of the regions.
		config: {
			// The config property is optional.
			// See 'Configuration options' for more information.
		}
	}
]

Configuration options

The following properties can be configured:

Option Description
verticalSpace Definition of the height of the static space, e.g. as pixels.

Possible values: 40px, 100px, ...
Default value: 40px
backgroundColor Definition of the background color, usually left blank.

Possible values: HEX-coded RGB values, "#FF0000"
Default value: "transparent"

Notifications

Doesn't make sense to exchange any information with the MagicMirror system, as this is a purely static HTML element.

About

MagicMirror Module - Add static space between modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published