Read the statement by Michael Teeuw here.
Position of module moves
-
I’ve been trying to position a module (compliments) better to gain more real estate on the screen. I was successfully able to move it in the custom.css file, but once the compliments module reaches the interval timer and updates to a new compliment, it moves back to the original position on the screen. I’m at a loss as to why this is happening. Can anybody point me or guide me as to why this is happening?
Thanks!
-
@krazykraka Why don’t you use
positioninconfig.js?
Every time the module should be redrawn(via.getDom()),MagicMirrorputs the DOM into the region container which is defined in yourconfig.js. -
So, if you want to hook this mechanism, You should modify your module not to be dependent on
.getDom(), and you should draw and insert your DOM by yourself. -
Ok gotcha. I’ll give that a try after work. Thanks!
-
@Sean It worked! Thanks! Time to continue on the other modules.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login