Skip to content

Commit

Permalink
Merge pull request #7 from Tom-Hirschberger/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Tom-Hirschberger authored Nov 3, 2022
2 parents b4570d4 + fc67771 commit 3d7cc4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion MMM-TouchButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Module.register('MMM-TouchButton', {
const wrapper = document.createElement('div')
let moduleClasses = []

if(typeof self.config["classes"] !== "undefined"){
if(self.config["classes"] != null){
self.config["classes"].split(" ").forEach(element => moduleClasses.push(element))
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "MMM-TouchButton",
"version": "0.0.2",
"version": "0.0.3",
"description": "",
"main": "MMM-TouchButton",
"dependencies": {
Expand Down
Binary file added screenshots/twoModules.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions touch-button.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
.touchButtonRootWrapper{
.MMM-TouchButton .touchButtonRootWrapper{
display: flex;
flex-direction: row;
flex-wrap: wrap;
font-size: 0px;
z-index: 999;
}

.touchButton .button.icon{
.MMM-TouchButton .touchButton .button.icon{
font-size: 20px;
margin: 5px;
}

.touchButton .button.imgIcon{
.MMM-TouchButton .touchButton .button.imgIcon{
width: 20px;
margin: 5px;
}

.touchButton .button.title {
.MMM-TouchButton .touchButton .button.title {
font-size: 16px;
text-align: center;
margin: 5px;
Expand Down

0 comments on commit 3d7cc4a

Please sign in to comment.