Read the statement by Michael Teeuw here.
CalendarExt3Journal fit with other modules
-
@cpcode so you are running portrait mode, tall vs wide
-
@MMRIZE I just got it to work by removing
height: '50vh',
from my config. I copied it from the git example but don’t know how vh works for height. If I comment it out altogether, the calendar is pretty short (for 14 hours) but the helloworld content displays correctly. If I do height: ‘1200px’, the calendar is a lot taller and looks great, AND the helloworld content displays correctly.
I guess something I have doesn’t like the 50vh stuff. The dev tools were showing some weird stuff also…
Thanks, this is good for me to move forward!
-
@MMRIZE I was wrong yet again… The real culprit (I hope) seems to be the module MMM-WallberryTheme. When I don’t include it, everything works fine with the calendar, even with height: ‘50vh’. When I add that module to another page (not even the one with the calendar), things start to look different: the calendar’s geometry and fonts are different, and I see that problem with the helloworld module displaying in the wrong place.
Digging in a bit more, the WallberryTheme module has this body style in its css:
body {
margin: 60px;
color: #fff;
font-family: “Rubik”, sans-serif;
font-weight: 400;
font-size: 27px;
text-shadow: -1px 2px 2px rgba(0, 0, 0, 0.6);
line-height: 1.5em;
-webkit-font-smoothing: antialiased;
}The two culprits are:
font-size: 27px;
line-height: 1.5em;If they are both enabled, even if all other styles are commented out, I see the problem. If either or both are commented out, everything is good.
No idea why this happens, but yet again I think I’m good to move forward :) -
@cpcode
I have no idea about that module, so I cannot promise the cowork with that kind of module. I wish you luck. -
@MMRIZE It’s all good, it works fine now.
I’m now going to try to add buttons that let someone move to the next or previous week in the calendar, so I’ll probably have more questions soon… Thanks again. -