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 diff
it will show you the changed content
then copy that to custom.css
when complete, in each place do
git checkout xxx
xxx 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