Read the statement by Michael Teeuw here.
MMM-CalendarExt3
-
THANK YOU both! the gap body code is exactly what i needed and bitvise helps a plenty!
Sam, do you mean i copy the code over from pi to pc > then simulate pc to run the mirror in dev mode and edit the css on the pc > then copy the css code from pc back to pi?
-
@1a2a3a no ,
open any browser connected to mm, in developer mode, (so chrome on your PC viewing mm page, and editor on PC editing custom.css via bitvise directly)and you can set styles on any element to see it’s effect
then can add those to custom.css and refresh
see
https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1700742616489 -
@sdetweil hmmm, i have been editing in the module css instead of the custom css. any undesirable consequences? also, whats the button to press for refresh? i keep doing ctrl c and npm start for refresh.
-
@1a2a3a
Don’t do edit module’s CSS ever at all. It will be problem on module update.
Instead, override them in your css/custom.css -
@1a2a3a refresh
if the cursor is over the mm part of the page, ctrl-r
if the cursor is over the developers window part, f5never edit any module provided file, or any mm provided file
custom.css is designed to enable override of any css.
-
@sdetweil lol so dead. no idea what i changed in main.css and module css :(
-
@1a2a3a in each place (mm folder/ module folder) do
git diffit will show you the changed content
then copy that to custom.css
when complete, in each place do
git checkout xxxxxx is the filename to restore
main.css or module_name.css -
@sdetweil thank you! that fix it. i needed quite a long time to remediate them haha
-
@sdetweil hey Sam can I know your vnc tool? Or rather the problem I’m facing now is that I’m using tiger vnc. My pi monitor is vertical. Pc Monitor is horizontal. When I vnc from the pc it shows vertical but my mouse is in horizontal mode so I can’t control it properly to do my css.
-
@1a2a3a I don’t use VNC. I use my PC browser.
on windows I use the bitvise ssh client that gives me ssh window for commands and a file system browser for editing files.
mixing vertical and horizontal is hard
-
@sdetweil I’m also using bitvise as per your suggestion. Editing config file and the drag and drop is brill.
I install MM on pc and do the css on the pc and edit the css before transferring the css over to pi. Only problem is pc MM is horizontal and more often than not I have to guess and trial and error to get my position right.
My pc MM is started via npm start dev hence I can adjust the horizontal scale. So the horizontal position is always like for like. It’s the vertical part that I couldn’t do it because well, the horizontal monitor is not long enough….
-
@1a2a3a you don’t have to transfer the css file, just double click to edit and save.
I use notepad++ or visual studio code as the config editoryeh, doing the math on the dimension changes is a pain in the rear.
get it like you like it horizontal and adjust
x times narrow_size/wide_size ( like width of 300px * 1080/1920)
-
@MMRIZE hi, can i know how to change eventheight in cx3? whenever i try to custom change the value, it is overwritten by the default element style which i have no access to it…
-
-
@MMRIZE read and don’t understand which was what I did.
I input —eventheight into my custom css but nothing seems to change
Edit:
Oh set in config. Let me try -
@MMRIZE did something change? i did a git pull update and now my calendar ext 3 is missing.
-
@1a2a3a did you npm install in the module folder again?
-
@sdetweil yes i deleted it and reinstall. seems to be working fine now
-
@1a2a3a he has a part called a submodule, that needs npm install to connect it
so you didn’t need to clone again, just run npm install
-
Hi there,
Installed your module which is really nice.
I have one question though.
At start up, it fetches all calendar’s I am using. However, it rendered and showed the calendars on the mirror before fetching. So its missing.Obviously you can fix that by having a faster fetchInterval. But I feel that is kind of unnecessary, since you dont make changes in your agenda by the minute.
Is there a way to Fetch, and only populate the calendar on the mirror after all fetching is done?
Regards, Cris
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

