MMRIZE / MMM-CalendarExt3

MagicMirror calendar view module
MIT License
58 stars 22 forks source link

Week number showing on all days of a given week #99

Closed dewwy1 closed 12 months ago

dewwy1 commented 1 year ago

hey, I updated to the latest version prior to this release (1.6 I believe) and noticed this issue. From memory this was not default behavior previously.

I updated the MMM-CalendarExt3.js file to comment out lines 379 to 383 which did the trick.

I also tried chanign line 60 "displayCW" to false, no luck.

image

Any chance this can become an option/config in future releases? Or have it just show on the first of the week?

eouia commented 1 year ago

I think you might have broken this CSS rule. (overriding in custom.css or somewhere, or corruption in MMM-CalendarExt3.css)

/* MMM-CalendarExt3.css: 122 */
.CX3 .cw:not(.cwFirst) {
  display: none;
}

You can check what causes these breaks by Ctrl+Shift+i on MM. It will open the dev console. You can inspect applied CSS rules on specific elements. It will something like this;

image

eouia commented 12 months ago

There is no reply. I'll close.

dewwy1 commented 11 months ago

Thanks eouia, had a look and tried the default CSS and worked fine. not sure what caused it in the end.