MagicMirrorOrg / MagicMirror

MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
http://magicmirror.builders
MIT License
19.79k stars 4.21k forks source link

"Added css class names "today" and "tomorrow" for default calendar" #2988

Closed Haskar closed 1 year ago

Haskar commented 1 year ago

Hi,

how do I deactivate the colored underlines for "today" and "tomorrow" events in the default calendar? I could not find anything in the documentation. The classes are not defined in my calendar.css file and I don't see where the "default" values come from :(

sdetweil commented 1 year ago

can u post a screen shot of the cal output? I don't see an underline

also you can examine the css tree in the developers console, see https://forum.magicmirror.builders/topic/14862/help-with-a-couple-css-issues?_=1672509926268

here is a screen shot of my cal, with the 'tomorrow' class being used, but not defined anywhere... the source of the class will be listed in the right column if provided..

Screenshot_2023-01-03_07-29-13

Haskar commented 1 year ago

Thanks for the friendly reply and the hint.

".today" and ".tomorrow" was defined in the CSS file of another module I use (MMM-Todoist). I commented it out and it is working fine now!

I should have been able to figure it out myself :(

sdetweil commented 1 year ago

so, to fix this just add

.MMM-Todoist and space

in front of those classes to make them relative to that module only

Haskar commented 1 year ago

Thx! :)