Read the statement by Michael Teeuw here.
Since the update calendar too wide
-
@JoeFranz said in Since the update calendar too wide:
Hello, since the update, the calendar is always on full width. No matter what you type at “maxTitleLength”.
You could try this in your custom.css file and adjust accordingly.
.calendar { width: 300px; }
-
An other option is working with variables in your custom CSS-file and making all of your modules the same width. Changing the width is than done only on one place in your custom CSS-file.
Try this in your custom.css and ad all your modules to it.
/* Vars */ :root { /* Width for all modules */ --mod-width : 310px; /* only px no % */ } /* Make all modules same width */ .clock { width : var(--mod-width); } .calendar { width : var(--mod-width); }
I do the same with colors I use in my custom CSS-file.
-
Ok that works, thank you. Nevertheless, there are still problems with the calendar. “timeFormat”, “getRelative” and “urgency” do not work either.
My PIR sensor does not work properly either.
I think everything again to make completely new. -
same here with “maximumEntries”. Doesn’t work anymore. I see all of them, 30 or 35.
-
@JoeFranz said in Since the update calendar too wide:
maxTitleLength
I am having the same problem. I updated recently and maxTitleLength no longer is working.
-
try the flag maximumEntries: ‘10’, in your config file right after the calendar you are displaying
symbol: 'headphones ',
url: ‘https://google.com/public/basic.ics’,
maximumEntries: ‘10’,
maxTitleLength:‘30’I miss the way the old calendar did max 10 no matter how many calendars you were calling in the config
-
Adding the config option after each calendar worked for me. Thanks for the help!